mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 19:52:21 +03:00
11 lines
207 B
TypeScript
11 lines
207 B
TypeScript
// @strict: false
|
|
|
|
declare const o1: undefined | (() => number);
|
|
o1?.();
|
|
|
|
declare const o2: undefined | { b: () => number };
|
|
o2?.b();
|
|
|
|
declare const o3: { b: (() => { c: string }) | undefined };
|
|
o3.b?.().c;
|