diff --git a/autobahn/autobahn.d.ts b/autobahn/autobahn.d.ts index eefe55bf59..6debcca7c9 100644 --- a/autobahn/autobahn.d.ts +++ b/autobahn/autobahn.d.ts @@ -108,7 +108,7 @@ declare module autobahn { } class Subscription implements ISubscription { - constructor(topic?, handler?: SubscribeHandler, options?: ISubscribeOptions, session?: Session, id?: number); + constructor(topic? : string, handler?: SubscribeHandler, options?: ISubscribeOptions, session?: Session, id?: number); handler: SubscribeHandler;