mirror of https://git.tuxpa.in/a/code-server.git
Fix IDE typing for custom event
This commit is contained in:
parent
0b5b7afbac
commit
f421de29d0
|
@ -127,6 +127,6 @@ declare global {
|
||||||
interface Window {
|
interface Window {
|
||||||
ide?: typeof ide;
|
ide?: typeof ide;
|
||||||
|
|
||||||
addEventListener(event: "ide-ready", callback: (ide: CustomEvent & { readonly ide: IdeApi }) => void): void;
|
addEventListener(event: "ide-ready", callback: (ide: CustomEvent & { readonly ide: typeof ide }) => void): void;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue