Skip to content

Commit cfcd8a9

Browse files
sqlProvidersqlProvider
authored andcommitted
[Readme] class overview
1 parent 0bd2aaf commit cfcd8a9

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,11 @@ bootstrap: [RootComponent]
4040
declare class PubSubService{
4141
private events: Object;
4242
$pub(event: string, eventObject?: any): void;
43-
$sub(event: string): <Observable<any>>;
44-
$sub(event: string, callback: (value: any) => void, error?: (error: any) => void, complete?: () => void): Subscription;
43+
$sub(): undefined;
44+
$sub(event: string): Observable<any>;
45+
$sub(event: string, callback: (value: any) => void): Subscription;
46+
$sub(event: string, callback: (value: any) => void, error: (error: any) => void): Subscription;
47+
$sub(event: string, callback: (value: any) => void, error: (error: any) => void, complete: () => void): Subscription;
4548
}
4649
```
4750

0 commit comments

Comments
 (0)