Home
last modified time | relevance | path

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

/third_party/typescript/tests/cases/conformance/types/keyof/
DkeyofAndIndexedAccess.ts468 type KeyTypes = "a" | "b" property in Component2
469 let MyThingy: { [key in KeyTypes]: string[] };
471 function addToMyThingy<S extends KeyTypes>(key: S) {
/third_party/typescript/tests/baselines/reference/
DkeyofAndIndexedAccess.js466 type KeyTypes = "a" | "b"
467 let MyThingy: { [key in KeyTypes]: string[] };
469 function addToMyThingy<S extends KeyTypes>(key: S) {
1313 declare type KeyTypes = "a" | "b";
1315 [key in KeyTypes]: string[];
1317 declare function addToMyThingy<S extends KeyTypes>(key: S): void;
DkeyofAndIndexedAccess.symbols1707 type KeyTypes = "a" | "b"
1708 >KeyTypes : Symbol(KeyTypes, Decl(keyofAndIndexedAccess.ts, 460, 79))
1710 let MyThingy: { [key in KeyTypes]: string[] };
1713 >KeyTypes : Symbol(KeyTypes, Decl(keyofAndIndexedAccess.ts, 460, 79))
1715 function addToMyThingy<S extends KeyTypes>(key: S) {
1718 >KeyTypes : Symbol(KeyTypes, Decl(keyofAndIndexedAccess.ts, 460, 79))
DkeyofAndIndexedAccess.types1690 type KeyTypes = "a" | "b"
1691 >KeyTypes : KeyTypes
1693 let MyThingy: { [key in KeyTypes]: string[] };
1696 function addToMyThingy<S extends KeyTypes>(key: S) {
1697 >addToMyThingy : <S extends KeyTypes>(key: S) => void