mirror of
https://github.com/hanzoai/prettier.git
synced 2026-09-24 17:02:04 +00:00
8 lines
160 B
JavaScript
8 lines
160 B
JavaScript
const x: Obj['bar'] = 1;
|
|
|
|
type A = (T & S)['bar'];
|
|
type B = (T | S)['bar'];
|
|
type C = (?T)['bar'];
|
|
type D = (typeof x)['bar'];
|
|
type E = (string => void)['bar'];
|