Fix types in string-templates.
This commit is contained in:
parent
f9ccbbe081
commit
795b10c4c9
|
@ -230,7 +230,7 @@ export function processStringSync(
|
||||||
} else {
|
} else {
|
||||||
return process(string)
|
return process(string)
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err: any) {
|
||||||
if (err.code === "USER_SCRIPT_ERROR") {
|
if (err.code === "USER_SCRIPT_ERROR") {
|
||||||
throw err
|
throw err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue