From f282040d6cc2506d04f3d8a0cd00c39068c74ae0 Mon Sep 17 00:00:00 2001 From: EstFoisy <113064863+EstFoisy@users.noreply.github.com> Date: Fri, 9 Sep 2022 10:42:28 -0400 Subject: [PATCH] fix `EventEmitter.fire` signature (#11655) 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. --- packages/plugin/src/theia.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugin/src/theia.d.ts b/packages/plugin/src/theia.d.ts index 0ab3560fe71cc..29caef22419f2 100644 --- a/packages/plugin/src/theia.d.ts +++ b/packages/plugin/src/theia.d.ts @@ -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