Searched refs:StrEnum (Results 1 – 9 of 9) sorted by relevance
/third_party/typescript/tests/baselines/reference/ |
D | noImplicitAnyStringIndexerOnObject.js | 80 enum StrEnum { a = "a", b = "b" } 81 let strEnumKey: StrEnum; 168 var StrEnum; variable 169 (function (StrEnum) { argument 170 StrEnum["a"] = "a"; 171 StrEnum["b"] = "b"; 172 })(StrEnum || (StrEnum = {}));
|
D | noImplicitAnyStringIndexerOnObject.symbols | 229 enum StrEnum { a = "a", b = "b" } 230 >StrEnum : Symbol(StrEnum, Decl(noImplicitAnyStringIndexerOnObject.ts, 75, 14)) 231 >a : Symbol(StrEnum.a, Decl(noImplicitAnyStringIndexerOnObject.ts, 78, 14)) 232 >b : Symbol(StrEnum.b, Decl(noImplicitAnyStringIndexerOnObject.ts, 78, 23)) 234 let strEnumKey: StrEnum; 236 >StrEnum : Symbol(StrEnum, Decl(noImplicitAnyStringIndexerOnObject.ts, 75, 14))
|
D | noImplicitAnyStringIndexerOnObject.types | 376 enum StrEnum { a = "a", b = "b" } 377 >StrEnum : StrEnum 378 >a : StrEnum.a 380 >b : StrEnum.b 383 let strEnumKey: StrEnum; 384 >strEnumKey : StrEnum 389 >strEnumKey : StrEnum
|
D | noImplicitAnyStringIndexerOnObject.errors.txt | 34 …TS7053: Element implicitly has an 'any' type because expression of type 'StrEnum' can't be used to… 35 Property '[StrEnum.b]' does not exist on type '{ a: number; }'. 180 enum StrEnum { a = "a", b = "b" } 181 let strEnumKey: StrEnum; 184 !!! error TS7053: Element implicitly has an 'any' type because expression of type 'StrEnum' can't b… 185 !!! error TS7053: Property '[StrEnum.b]' does not exist on type '{ a: number; }'.
|
/third_party/typescript/tests/cases/compiler/ |
D | noImplicitAnyStringIndexerOnObject.ts | 81 enum StrEnum { a = "a", b = "b" } enum 82 let strEnumKey: StrEnum;
|
/third_party/python/Lib/test/ |
D | test_enum.py | 51 class StrEnum(str, Enum): class 53 class Name(StrEnum): 721 class StrEnum(str, Enum): class 723 class phy(StrEnum): 2086 class StrEnum(str, Enum): class 2094 class Decision1(StrEnum): 2098 class MyEnum(StrEnum): 3260 if StrEnum.__doc__ is None:
|
/third_party/python/Misc/NEWS.d/ |
D | 3.10.0a4.rst | 501 StrEnum: fix _generate_next_value_ to return a str
|
D | 3.10.0a1.rst | 1190 StrEnum added: it ensures that all members are already strings or string
|
/third_party/python/Doc/library/ |
D | enum.rst | 734 a :class:`StrEnum` that mixes in :class:`str` instead of :class:`int`.
|