mirror of
https://github.com/swc-project/swc.git
synced 2024-12-27 15:42:51 +03:00
7 lines
116 B
TypeScript
7 lines
116 B
TypeScript
|
var a: object;
|
||
|
a.toString();
|
||
|
a.nonExist(); // error
|
||
|
|
||
|
var { destructuring } = a; // error
|
||
|
var { ...rest } = a; // ok
|