Skip to content

Commit 2558e72

Browse files
committed
oops
1 parent b39ad48 commit 2558e72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/languages/ts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1148,7 +1148,7 @@ export default (options = {}) => {
11481148

11491149
flush_trailing_comments(
11501150
context,
1151-
(node.value ?? node.typeAnnotation ?? node.key).loc?.end,
1151+
(node.value ?? node.typeAnnotation ?? node.key).loc?.end ?? null,
11521152
null
11531153
);
11541154
},

0 commit comments

Comments
 (0)