Home
last modified time | relevance | path

Searched refs:KeyOf (Results 1 – 4 of 4) sorted by relevance

/third_party/typescript/tests/cases/conformance/types/keyof/
DkeyofAndIndexedAccess.ts50 type KeyOf<T> = keyof T; alias
52 type K20 = KeyOf<Shape>; // "name" | "width" | "height" | "visible"
53 type K21 = KeyOf<Dictionary<Shape>>; // string
/third_party/typescript/tests/baselines/reference/
DkeyofAndIndexedAccess.js48 type KeyOf<T> = keyof T;
50 type K20 = KeyOf<Shape>; // "name" | "width" | "height" | "visible"
51 type K21 = KeyOf<Dictionary<Shape>>; // string
1146 declare type KeyOf<T> = keyof T;
1147 declare type K20 = KeyOf<Shape>;
1148 declare type K21 = KeyOf<Dictionary<Shape>>;
DkeyofAndIndexedAccess.symbols130 type KeyOf<T> = keyof T;
131 >KeyOf : Symbol(KeyOf, Decl(keyofAndIndexedAccess.ts, 44, 42))
135 type K20 = KeyOf<Shape>; // "name" | "width" | "height" | "visible"
137 >KeyOf : Symbol(KeyOf, Decl(keyofAndIndexedAccess.ts, 44, 42))
140 type K21 = KeyOf<Dictionary<Shape>>; // string
142 >KeyOf : Symbol(KeyOf, Decl(keyofAndIndexedAccess.ts, 44, 42))
DkeyofAndIndexedAccess.types115 type KeyOf<T> = keyof T;
116 >KeyOf : keyof T
118 type K20 = KeyOf<Shape>; // "name" | "width" | "height" | "visible"
121 type K21 = KeyOf<Dictionary<Shape>>; // string