Home
last modified time | relevance | path

Searched refs:StrEnum (Results 1 – 9 of 9) sorted by relevance

/third_party/typescript/tests/baselines/reference/
DnoImplicitAnyStringIndexerOnObject.js80 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 = {}));
DnoImplicitAnyStringIndexerOnObject.symbols229 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))
DnoImplicitAnyStringIndexerOnObject.types376 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
DnoImplicitAnyStringIndexerOnObject.errors.txt34 …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/
DnoImplicitAnyStringIndexerOnObject.ts81 enum StrEnum { a = "a", b = "b" } enum
82 let strEnumKey: StrEnum;
/third_party/python/Lib/test/
Dtest_enum.py51 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/
D3.10.0a4.rst501 StrEnum: fix _generate_next_value_ to return a str
D3.10.0a1.rst1190 StrEnum added: it ensures that all members are already strings or string
/third_party/python/Doc/library/
Denum.rst734 a :class:`StrEnum` that mixes in :class:`str` instead of :class:`int`.