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