Merge pull request #5291 from Tyriar/polish_2

Make ProgressAddon.onChange non undefined
This commit is contained in:
Daniel Imms
2025-01-09 06:14:23 -08:00
committed by GitHub
+1 -1
View File
@@ -31,7 +31,7 @@ declare module '@xterm/addon-progress' {
/**
* 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