mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +03:00
13 lines
231 B
TypeScript
13 lines
231 B
TypeScript
// @strict: false
|
|
|
|
declare const o1: undefined | { b: string };
|
|
o1?.["b"];
|
|
|
|
declare const o2: undefined | { b: { c: string } };
|
|
o2?.["b"].c;
|
|
o2?.b["c"];
|
|
|
|
declare const o3: { b: undefined | { c: string } };
|
|
o3["b"]?.c;
|
|
o3.b?.["c"];
|