Skip to content

Commit 35b47e5

Browse files
authored
Fix typo in methods signature: stirng -> string
1 parent 8a81174 commit 35b47e5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ declare class PubSubService {
5555
}
5656
```
5757

58-
#### PubSubService.$pub(event: stirng, eventObject?: any): void
58+
#### PubSubService.$pub(event: string, eventObject?: any): void
5959

6060
Publish event to all subscriber.
6161

@@ -70,7 +70,7 @@ export class OverlayComponent implements OnInit, OnDestroy {
7070
}
7171
```
7272

73-
#### PubSubService.$sub(event: stirng): Observable<any>
73+
#### PubSubService.$sub(event: string): Observable<any>
7474

7575
Subscribe to channel.
7676

@@ -108,4 +108,4 @@ npm install
108108
npm test
109109
npm run build
110110
```
111-
Commands above will generate the ready to use bundles under the `./dist` folder.
111+
Commands above will generate the ready to use bundles under the `./dist` folder.

0 commit comments

Comments
 (0)