Skip to content

Commit

Permalink
Ignore TypeScript error 2355 in REPL (#645)
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed Jul 21, 2018
1 parent 743e80f commit 2017b3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bin.ts
Expand Up @@ -387,7 +387,8 @@ const RECOVERY_CODES: Set<number> = 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."
])

/**
Expand Down

0 comments on commit 2017b3a

Please sign in to comment.