Searched refs:KeyTypes (Results 1 – 4 of 4) sorted by relevance
468 type KeyTypes = "a" | "b" property in Component2469 let MyThingy: { [key in KeyTypes]: string[] };471 function addToMyThingy<S extends KeyTypes>(key: S) {
466 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;
1707 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))
1690 type KeyTypes = "a" | "b"1691 >KeyTypes : KeyTypes1693 let MyThingy: { [key in KeyTypes]: string[] };1696 function addToMyThingy<S extends KeyTypes>(key: S) {1697 >addToMyThingy : <S extends KeyTypes>(key: S) => void