We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce82a09 commit a6381b3Copy full SHA for a6381b3
1 file changed
src/parse-result.ts
@@ -1109,7 +1109,6 @@ export default class ParseResult {
1109
break;
1110
case 'BooleanLiteral':
1111
case 'NumberLiteral':
1112
- case 'NullLiteral':
1113
{
1114
let { source } = nodeInfo;
1115
@@ -1121,6 +1120,11 @@ export default class ParseResult {
1121
1120
output.push(source);
1122
}
1123
+ case 'NullLiteral':
1124
+ {
1125
+ output.push('null');
1126
+ }
1127
+ break;
1128
default:
1129
throw new Error(
1130
`ember-template-recast does not have the ability to update ${original.type}. Please open an issue so we can add support.`
0 commit comments