Make ProgressAddon.onChange non undefined

Fixes #5288
This commit is contained in:
Daniel Imms
2025-01-09 06:03:34 -08:00
parent 6188f764d1
commit c95ec71e09
+1 -1
View File
@@ -31,7 +31,7 @@ declare module '@xterm/addon-progress' {
/** /**
* An event that fires when the tracked progress changes. * An event that fires when the tracked progress changes.
*/ */
public readonly onChange: IEvent<IProgressState> | undefined; public readonly onChange: IEvent<IProgressState>;
/** /**
* Gets or sets the current progress tracked by the addon. This can be used * Gets or sets the current progress tracked by the addon. This can be used