mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 11:13:43 +03:00
6 lines
189 B
TypeScript
6 lines
189 B
TypeScript
// @target: esnext,es2015,es5
|
|
// @noTypesAndSymbols: true
|
|
|
|
// https://github.com/microsoft/TypeScript/issues/36295
|
|
const a = (): string | undefined => undefined;
|
|
((b = a() ?? "d") => {})(); |