mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 06:36:08 +03:00
6 lines
202 B
TypeScript
6 lines
202 B
TypeScript
|
// @target: esnext,es2015,es5
|
||
|
// @noTypesAndSymbols: true
|
||
|
|
||
|
// https://github.com/microsoft/TypeScript/issues/36295
|
||
|
const a = (): { d: string } | undefined => undefined;
|
||
|
(({ [a()?.d]: c = "" }) => {})();
|