From c95ec71e0991ff71805a4e27cbaed5809871bb69 Mon Sep 17 00:00:00 2001 From: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Thu, 9 Jan 2025 06:03:34 -0800 Subject: [PATCH] Make ProgressAddon.onChange non undefined Fixes #5288 --- addons/addon-progress/typings/addon-progress.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/addon-progress/typings/addon-progress.d.ts b/addons/addon-progress/typings/addon-progress.d.ts index bcc383a27f..c9431dad22 100644 --- a/addons/addon-progress/typings/addon-progress.d.ts +++ b/addons/addon-progress/typings/addon-progress.d.ts @@ -31,7 +31,7 @@ declare module '@xterm/addon-progress' { /** * An event that fires when the tracked progress changes. */ - public readonly onChange: IEvent | undefined; + public readonly onChange: IEvent; /** * Gets or sets the current progress tracked by the addon. This can be used