mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00: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