Update lib/api/src/lib/StoryIndexClient.ts

Co-authored-by: Yann Braga <yannbf@gmail.com>
This commit is contained in:
Tom Coleman 2021-10-12 23:40:24 +11:00 committed by GitHub
parent e265f122d1
commit 2badf07fc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ export class StoryIndexClient {
}
}
// Silently never emit events in bult storybook modes
// Silently never emit events in built storybook modes
addEventListener(event: string, cb: (...args: any[]) => void) {
if (this.source) this.source.addEventListener(event, cb);
}