Skip to content

Commit

Permalink
fix EventEmitter.fire signature (#11655)
Browse files Browse the repository at this point in the history
The commit fixes the signature for `EventEmitter.fire` so that `data` is non-optional, and aligns the signature with expectations from the VS Code API.
  • Loading branch information
EstFoisy authored Sep 9, 2022
1 parent 8fe2a50 commit f282040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin/src/theia.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2074,7 +2074,7 @@ export module '@theia/plugin' {
* Fire the event and pass data object
* @param data
*/
fire(data?: T): void;
fire(data: T): void;

/**
* Dispose this object
Expand Down

0 comments on commit f282040

Please sign in to comment.