paho-mqtt: Remove unnecessary module.d.ts (#29898)

This commit is contained in:
Andy 2018-11-06 10:32:20 -08:00 committed by GitHub
parent 7500ae4609
commit 19e189194f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 13 deletions

View File

@ -4,9 +4,9 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
/// <reference path="module.d.ts"/>
export = Paho.MQTT;
declare namespace Paho {
declare global {
/**
* Send and receive messages using web browsers.
* <p>
@ -40,7 +40,7 @@ declare namespace Paho {
* an error with any parameter.
* <p>
*/
namespace MQTT {
namespace Paho.MQTT {
/**
* The Quality of Service used to deliver a message.
* <dl>

View File

@ -1,10 +0,0 @@
// Type definitions for paho-mqtt 1.0
// Project: https://github.com/eclipse/paho.mqtt.javascript#readme
// Definitions by: Alex Mikhalev <https://github.com/amikhalev>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="index.d.ts"/>
declare module 'paho-mqtt' {
export = Paho.MQTT;
}