mirror of
https://github.com/danog/code-server.git
synced 2024-11-30 04:39:46 +01:00
Fix IDE typing for custom event
This commit is contained in:
parent
0b5b7afbac
commit
f421de29d0
2
packages/ide-api/api.d.ts
vendored
2
packages/ide-api/api.d.ts
vendored
@ -127,6 +127,6 @@ declare global {
|
||||
interface Window {
|
||||
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
Block a user