From f421de29d0d8692eb76fa82c50b5536c7fc35d09 Mon Sep 17 00:00:00 2001 From: Kyle Carberry Date: Wed, 27 Feb 2019 09:38:45 -0600 Subject: [PATCH] Fix IDE typing for custom event --- packages/ide-api/api.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ide-api/api.d.ts b/packages/ide-api/api.d.ts index aeaff7a0..94d22b57 100644 --- a/packages/ide-api/api.d.ts +++ b/packages/ide-api/api.d.ts @@ -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; } }