mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
parent
8e8834c4ce
commit
72b274eb9a
4
types/pubsub-js/index.d.ts
vendored
4
types/pubsub-js/index.d.ts
vendored
@ -29,9 +29,9 @@ declare namespace PubSubJS {
|
||||
}
|
||||
|
||||
interface Publish {
|
||||
publish(message: string, data: any): boolean;
|
||||
publish(message: string, data?: any): boolean;
|
||||
|
||||
publishSync(message: string, data: any): boolean;
|
||||
publishSync(message: string, data?: any): boolean;
|
||||
}
|
||||
|
||||
interface Subscribe {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user