diff --git a/src/dev-warning.ts b/src/dev-warning.ts index 18ad7409d..2d571967a 100644 --- a/src/dev-warning.ts +++ b/src/dev-warning.ts @@ -36,7 +36,7 @@ export function log(type: 'error' | 'warn', message: string): void { } // manual opt out of warnings - if (typeof window !== 'undefined' && window[isDisabledFlag]) { + if (typeof window !== 'undefined' && window[isDisabledFlag as any]) { return; }