mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 21:36:50 -05:00
Add failing tests for destructuring void
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
// @strictNullChecks: false
|
||||
declare const v: void;
|
||||
const {} = v;
|
||||
@@ -0,0 +1,3 @@
|
||||
// @strictNullChecks: true
|
||||
declare const v: void;
|
||||
const {} = v;
|
||||
Reference in New Issue
Block a user