Skip to content

Commit 9a3149b

Browse files
committed
Add failing tests for destructuring void
1 parent 025d826 commit 9a3149b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// @strictNullChecks: false
2+
declare const v: void;
3+
const {} = v;
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// @strictNullChecks: true
2+
declare const v: void;
3+
const {} = v;

0 commit comments

Comments
 (0)