PiperOrigin-RevId: 563907673
This commit is contained in:
Sebastian Schmidt
2023-09-08 19:16:14 -07:00
committed by Copybara-Service
parent 1514304ab3
commit 7accc79018
+1 -1
View File
@@ -1202,7 +1202,7 @@ export class GraphRunner {
}
// Quick private helper to run the given script safely
async function runScript(scriptUrl: string) {
async function runScript(scriptUrl: string|string) {
if (typeof importScripts === 'function') {
importScripts(scriptUrl.toString());
} else {