diff --git a/src/main.ts b/src/main.ts index 8d9ad1d..44b5a7f 100644 --- a/src/main.ts +++ b/src/main.ts @@ -183,6 +183,7 @@ export function printParseErrorCode(code: ParseErrorCode) { case ParseErrorCode.InvalidEscapeCharacter: return 'InvalidEscapeCharacter'; case ParseErrorCode.InvalidCharacter: return 'InvalidCharacter'; } + return ''; } export type NodeType = 'object' | 'array' | 'property' | 'string' | 'number' | 'boolean' | 'null';