8000 Fix 'no unncessary type assertion' (#871) · lowgrind/pyscript@29ba943 · GitHub
[go: up one dir, main page]

Skip to content

Commit 29ba943

Browse files
authored
Fix 'no unncessary type assertion' (pyscript#871)
1 parent 2a044e8 commit 29ba943

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyscriptjs/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function globalExport(name: string, obj: any) {
104104
// visible everywhere. Should be used very sparingly!
105105

106106
// `window` in the browser, `global` in node
107-
const _global = (window || global) as any;
107+
const _global = (window || global);
108108
_global[name] = obj;
109109
}
110110

0 commit comments

Comments
 (0)
0