Ensure types are checked in demo, fix errors, emit to out-demo

Part of #5509
This commit is contained in:
Daniel Imms
2025-12-27 05:31:21 -08:00
parent 995b491a7a
commit 4d48f8624b
10 changed files with 46 additions and 52 deletions
@@ -3,13 +3,10 @@
* @license MIT
*/
/// <reference path="../../../typings/xterm.d.ts"/>
import type { Terminal } from '@xterm/xterm';
import { BaseWindow } from './baseWindow';
import type { IControlWindow } from '../controlBar';
import type { AddonCollection } from 'types';
import type { IImageAddonOptions } from '@xterm/addon-image';
import type { AddonCollection } from '../../types';
export class AddonsWindow extends BaseWindow implements IControlWindow {
public readonly id = 'addons';
@@ -277,4 +274,4 @@ function htmlSerializeButtonHandler(term: Terminal, addons: AddonCollection): vo
document.execCommand('copy');
document.removeEventListener('copy', listener);
document.getElementById('htmlserialize-output-result').innerText = 'Copied to clipboard';
}
}