Fix IDE typing for custom event

This commit is contained in:
Kyle Carberry 2019-02-27 09:38:45 -06:00
parent 0b5b7afbac
commit f421de29d0
No known key found for this signature in database
GPG Key ID: A0409BDB6B0B3EDB
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}