Add failing tests for destructuring void

This commit is contained in:
Andrew Branch 2019-04-01 13:33:41 -07:00
parent 025d826339
commit 9a3149b967
No known key found for this signature in database
GPG Key ID: 22CCA4B120C427D2
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,3 @@
// @strictNullChecks: false
declare const v: void;
const {} = v;

View File

@ -0,0 +1,3 @@
// @strictNullChecks: true
declare const v: void;
const {} = v;