Skip to content

Commit b91ab29

Browse files
final not final
1 parent 8264097 commit b91ab29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/typestript/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ export function stripTypes(content: string): { content: string; sourceMap: Sourc
3636
TSSatisfiesExpression: (node) => {
3737
handleTypeExpression(node, s);
3838
},
39-
TSNonNullExpression: (node) => {
39+
TSNonNullExpression: (node, context) => {
4040
const { end } = node as unknown as { start: number; end: number };
4141
s.overwrite(end - 1, end, ' ');
42+
context.next();
4243
},
4344
ImportDeclaration: (node, context) => {
4445
if (

0 commit comments

Comments
 (0)