copy files
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
export function exportWindow(obj:unknown, objName: string, targetWindow?: unknown):void{
|
||||
const target:unknown = targetWindow ?? window;
|
||||
(target as {[v: string]: unknown})[objName] = obj;
|
||||
}
|
||||
Reference in New Issue
Block a user