fixed linting issues, ts version > 2.2

This commit is contained in:
Alex Duka
2018-12-05 01:52:42 +02:00
parent 14300e7799
commit 539736fa10
+2 -3
View File
@@ -1,9 +1,9 @@
// TypeScript Version: 2.2' just under the header.
// Type definitions for rabbitmq-schema 2.0
// Project: https://github.com/tjmehta/rabbitmq-schema
// Definitions by: Alex Duka <https://github.com/rulezzz1987>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface Binding {
destination: Topology;
source: Exchange;
@@ -19,7 +19,6 @@ interface DirectBinding extends Binding {
routingPattern: string;
}
interface Topology {
options?: object;
}
@@ -69,4 +68,4 @@ declare class RabbitMQSchema {
getExchangeByName(name: string): Exchange | void;
}
export = RabbitMQSchema;
export = RabbitMQSchema;