diff --git a/README.md b/README.md index 4074346..4b94745 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ declare class PubSubService { } ``` -#### PubSubService.$pub(event: stirng, eventObject?: any): void +#### PubSubService.$pub(event: string, eventObject?: any): void Publish event to all subscriber. @@ -70,7 +70,7 @@ export class OverlayComponent implements OnInit, OnDestroy { } ``` -#### PubSubService.$sub(event: stirng): Observable +#### PubSubService.$sub(event: string): Observable Subscribe to channel. @@ -108,4 +108,4 @@ npm install npm test npm run build ``` -Commands above will generate the ready to use bundles under the `./dist` folder. \ No newline at end of file +Commands above will generate the ready to use bundles under the `./dist` folder.