diff --git a/src/bin.ts b/src/bin.ts index 3d6b84ab6..c3b89c38c 100644 --- a/src/bin.ts +++ b/src/bin.ts @@ -387,7 +387,8 @@ const RECOVERY_CODES: Set = new Set([ 1109, // "Expression expected." 1126, // "Unexpected end of text." 1160, // "Unterminated template literal." - 1161 // "Unterminated regular expression literal." + 1161, // "Unterminated regular expression literal." + 2355 // "A function whose declared type is neither 'void' nor 'any' must return a value." ]) /**