Skip to content

Commit

Permalink
Removed: ISourceArg, IDestinationArg, linkChannels (DefinitelyTyped#9107
Browse files Browse the repository at this point in the history
)

Changed: wiretaps to wireTaps
  • Loading branch information
vag1830 authored and vvakame committed Apr 25, 2016
1 parent 7ae49d7 commit bde199a
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions postal/postal.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Type definitions for Postal v1.0.6
// Type definitions for Postal v1.0.8
// Project: https://github.com/postaljs/postal.js
// Definitions by: Lokesh Peta <https://github.com/lokeshpeta/>, Paul Jolly <https://github.com/myitcv>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
Expand Down Expand Up @@ -61,19 +61,9 @@ interface IChannelDefinition<T> {
channel: string;
}

interface ISourceArg {
topic: string;
channel?: string;
}

interface IDestinationArg {
topic: string | ((topic: string) => string);
channel?: string;
}

interface IPostal {
subscriptions: {};
wiretaps: ICallback<any>[];
wireTaps: ICallback<any>[];

addWireTap(callback: ICallback<any>): () => void;

Expand All @@ -83,8 +73,6 @@ interface IPostal {
getSubscribersFor(options: {channel?: string, topic?: string, context?: any}): ISubscriptionDefinition<any>[];
getSubscribersFor(predicateFn: (sub: ISubscriptionDefinition<any>) => boolean): ISubscriptionDefinition<any>[];

linkChannels(source: ISourceArg | ISourceArg[], destination: IDestinationArg | IDestinationArg[]): void;

publish(envelope: IEnvelope<any>): void;

reset(): void;
Expand Down

0 comments on commit bde199a

Please sign in to comment.