Skip to content

Commit aca0b66

Browse files
Merge pull request #1617 from kim-sung-jee/chore/on-event-jsdoc
chore(event-emitter): add jsdoc for listener options
2 parents 94d464d + 850035f commit aca0b66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/decorators/on-event.decorator.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { OnEventOptions } from '../interfaces';
44

55
/**
66
* `@OnEvent` decorator metadata
7-
*
7+
*
88
* @publicApi
99
*/
1010
export interface OnEventMetadata {
@@ -28,7 +28,7 @@ export type OnEventType = string | symbol | Array<string | symbol>;
2828
* Subscribes to events based on the specified name(s).
2929
*
3030
* @param event event to subscribe to
31-
*
31+
* @param options listener options
3232
* @publicApi
3333
*/
3434
export const OnEvent = (

0 commit comments

Comments
 (0)