mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 10:12:42 +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;
|