Fix types in string-templates.

This commit is contained in:
Sam Rose 2024-10-03 13:11:35 +01:00
parent f9ccbbe081
commit 795b10c4c9
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ export function processStringSync(
} else {
return process(string)
}
} catch (err) {
} catch (err: any) {
if (err.code === "USER_SCRIPT_ERROR") {
throw err
}