From 539736fa10140c46156aa34e4918a4648ca3c72c Mon Sep 17 00:00:00 2001 From: Alex Duka Date: Wed, 5 Dec 2018 01:52:42 +0200 Subject: [PATCH] fixed linting issues, ts version > 2.2 --- types/rabbitmq-schema/index.d.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/types/rabbitmq-schema/index.d.ts b/types/rabbitmq-schema/index.d.ts index 29c12b3c99..e2814066ee 100644 --- a/types/rabbitmq-schema/index.d.ts +++ b/types/rabbitmq-schema/index.d.ts @@ -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 // 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; \ No newline at end of file +export = RabbitMQSchema;