Fix 'no unncessary type assertion' (#871)

This commit is contained in:
Jeff Glass
2022-10-20 09:18:27 -05:00
committed by GitHub
parent 2a044e88ad
commit 29ba9436c8

View File

@@ -104,7 +104,7 @@ function globalExport(name: string, obj: any) {
// visible everywhere. Should be used very sparingly!
// `window` in the browser, `global` in node
const _global = (window || global) as any;
const _global = (window || global);
_global[name] = obj;
}