@@ -48,20 +48,20 @@ Cannot instantiate `EnumValue` because in type argument `TRepresentationType`: [
4848 ^^^^^^^^ [1]
4949
5050References:
51- <BUILTINS>/core.js:3092 :32
52- 3092 | type EnumRepresentationTypes = string | number | symbol | boolean | bigint;
51+ <BUILTINS>/core.js:3120 :32
52+ 3120 | type EnumRepresentationTypes = string | number | symbol | boolean | bigint;
5353 ^^^^^^ [2]
54- <BUILTINS>/core.js:3092 :41
55- 3092 | type EnumRepresentationTypes = string | number | symbol | boolean | bigint;
54+ <BUILTINS>/core.js:3120 :41
55+ 3120 | type EnumRepresentationTypes = string | number | symbol | boolean | bigint;
5656 ^^^^^^ [3]
57- <BUILTINS>/core.js:3092 :50
58- 3092 | type EnumRepresentationTypes = string | number | symbol | boolean | bigint;
57+ <BUILTINS>/core.js:3120 :50
58+ 3120 | type EnumRepresentationTypes = string | number | symbol | boolean | bigint;
5959 ^^^^^^ [4]
60- <BUILTINS>/core.js:3092 :59
61- 3092 | type EnumRepresentationTypes = string | number | symbol | boolean | bigint;
60+ <BUILTINS>/core.js:3120 :59
61+ 3120 | type EnumRepresentationTypes = string | number | symbol | boolean | bigint;
6262 ^^^^^^^ [5]
63- <BUILTINS>/core.js:3092 :69
64- 3092 | type EnumRepresentationTypes = string | number | symbol | boolean | bigint;
63+ <BUILTINS>/core.js:3120 :69
64+ 3120 | type EnumRepresentationTypes = string | number | symbol | boolean | bigint;
6565 ^^^^^^ [6]
6666
6767
@@ -143,8 +143,8 @@ Cannot cast `x` to `EnumValue` because in the enum's representation type: number
143143 ^
144144
145145References:
146- <BUILTINS>/core.js:3106 :16
147- 3106 | > = $EnumValue<TRepresentationType>;
146+ <BUILTINS>/core.js:3134 :16
147+ 3134 | > = $EnumValue<TRepresentationType>;
148148 ^^^^^^^^^^^^^^^^^^^ [1]
149149 abstract-enum-value.js:35:18
150150 35| x as EnumValue<boolean>; // ERROR
@@ -161,8 +161,8 @@ Cannot cast `x` to `EnumValue` because in the enum's representation type: string
161161 ^
162162
163163References:
164- <BUILTINS>/core.js:3106 :16
165- 3106 | > = $EnumValue<TRepresentationType>;
164+ <BUILTINS>/core.js:3134 :16
165+ 3134 | > = $EnumValue<TRepresentationType>;
166166 ^^^^^^^^^^^^^^^^^^^ [1]
167167 abstract-enum-value.js:35:18
168168 35| x as EnumValue<boolean>; // ERROR
@@ -234,8 +234,8 @@ Cannot instantiate `Enum` because in type argument `TEnumValue`: boolean [1] is
234234 ^^^^^^^ [1]
235235
236236References:
237- <BUILTINS>/core.js:3123 :24
238- 3123 | type Enum<+TEnumValue: EnumValue<> = EnumValue<>> = $Enum<TEnumValue>;
237+ <BUILTINS>/core.js:3151 :24
238+ 3151 | type Enum<+TEnumValue: EnumValue<> = EnumValue<>> = $Enum<TEnumValue>;
239239 ^^^^^^^^^^^ [2]
240240
241241
@@ -266,11 +266,11 @@ string [3] is incompatible with boolean [4]. [incompatible-type]
266266 ^
267267
268268References:
269- <BUILTINS>/core.js:3123 :12
270- 3123 | type Enum<+TEnumValue: EnumValue<> = EnumValue<>> = $Enum<TEnumValue>;
269+ <BUILTINS>/core.js:3151 :12
270+ 3151 | type Enum<+TEnumValue: EnumValue<> = EnumValue<>> = $Enum<TEnumValue>;
271271 ^^^^^^^^^^ [1]
272- <BUILTINS>/core.js:3105 :4
273- 3105 | +TRepresentationType: EnumRepresentationTypes = EnumRepresentationTypes
272+ <BUILTINS>/core.js:3133 :4
273+ 3133 | +TRepresentationType: EnumRepresentationTypes = EnumRepresentationTypes
274274 ^^^^^^^^^^^^^^^^^^^ [2]
275275 abstract-enum.js:15:35
276276 15| declare const x: Enum<EnumValue<string>>;
@@ -290,8 +290,8 @@ Cannot cast `x` to `Enum` because in type argument `TEnumValue` [1]: `EnumValue`
290290 ^
291291
292292References:
293- <BUILTINS>/core.js:3123 :12
294- 3123 | type Enum<+TEnumValue: EnumValue<> = EnumValue<>> = $Enum<TEnumValue>;
293+ <BUILTINS>/core.js:3151 :12
294+ 3151 | type Enum<+TEnumValue: EnumValue<> = EnumValue<>> = $Enum<TEnumValue>;
295295 ^^^^^^^^^^ [1]
296296 abstract-enum.js:15:25
297297 15| declare const x: Enum<EnumValue<string>>;
@@ -340,8 +340,8 @@ Cannot call `f` because in type argument `TEnumValue`: boolean [1] is incompatib
340340 ^^^^ [1]
341341
342342References:
343- <BUILTINS>/core.js:3123 :24
344- 3123 | type Enum<+TEnumValue: EnumValue<> = EnumValue<>> = $Enum<TEnumValue>;
343+ <BUILTINS>/core.js:3151 :24
344+ 3151 | type Enum<+TEnumValue: EnumValue<> = EnumValue<>> = $Enum<TEnumValue>;
345345 ^^^^^^^^^^^ [2]
346346
347347
@@ -1957,8 +1957,8 @@ References:
19571957 exhaustive-check.js:3:6
19581958 3| enum E {
19591959 ^ [3]
1960- <BUILTINS>/core.js:2893 :3
1961- 2893 | isValid(this: TEnum, input: ?TRepresentationType | TEnumValue): boolean,
1960+ <BUILTINS>/core.js:2921 :3
1961+ 2921 | isValid(this: TEnum, input: ?TRepresentationType | TEnumValue): boolean,
19621962 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [4]
19631963
19641964
@@ -2579,15 +2579,15 @@ Cannot get `E.nonExistent` because property `nonExistent` is missing in `$EnumPr
25792579 ^^^^^^^^^^^
25802580
25812581References:
2582- <BUILTINS>/core.js:2890 :59
2582+ <BUILTINS>/core.js:2918 :59
25832583 v-
2584- 2890 | type $EnumProto<TEnum, TEnumValue, TRepresentationType> = {|
2585- 2891 | cast(this: TEnum, input: ?TRepresentationType): void | TEnumValue,
2586- 2892 | getName(this: TEnum, input: TEnumValue): string,
2587- 2893 | isValid(this: TEnum, input: ?TRepresentationType | TEnumValue): boolean,
2588- 2894 | members(this: TEnum): Iterator<TEnumValue>,
2589- 2895 | __proto__: null,
2590- 2896 | |}
2584+ 2918 | type $EnumProto<TEnum, TEnumValue, TRepresentationType> = {|
2585+ 2919 | cast(this: TEnum, input: ?TRepresentationType): void | TEnumValue,
2586+ 2920 | getName(this: TEnum, input: TEnumValue): string,
2587+ 2921 | isValid(this: TEnum, input: ?TRepresentationType | TEnumValue): boolean,
2588+ 2922 | members(this: TEnum): Iterator<TEnumValue>,
2589+ 2923 | __proto__: null,
2590+ 2924 | |}
25912591 -^ [1]
25922592
25932593
@@ -2600,15 +2600,15 @@ Cannot call `E.nonExistent` because property `nonExistent` is missing in `$EnumP
26002600 ^^^^^^^^^^^
26012601
26022602References:
2603- <BUILTINS>/core.js:2890 :59
2603+ <BUILTINS>/core.js:2918 :59
26042604 v-
2605- 2890 | type $EnumProto<TEnum, TEnumValue, TRepresentationType> = {|
2606- 2891 | cast(this: TEnum, input: ?TRepresentationType): void | TEnumValue,
2607- 2892 | getName(this: TEnum, input: TEnumValue): string,
2608- 2893 | isValid(this: TEnum, input: ?TRepresentationType | TEnumValue): boolean,
2609- 2894 | members(this: TEnum): Iterator<TEnumValue>,
2610- 2895 | __proto__: null,
2611- 2896 | |}
2605+ 2918 | type $EnumProto<TEnum, TEnumValue, TRepresentationType> = {|
2606+ 2919 | cast(this: TEnum, input: ?TRepresentationType): void | TEnumValue,
2607+ 2920 | getName(this: TEnum, input: TEnumValue): string,
2608+ 2921 | isValid(this: TEnum, input: ?TRepresentationType | TEnumValue): boolean,
2609+ 2922 | members(this: TEnum): Iterator<TEnumValue>,
2610+ 2923 | __proto__: null,
2611+ 2924 | |}
26122612 -^ [1]
26132613
26142614
@@ -2635,15 +2635,15 @@ Cannot call `E.A` because property `A` is missing in `$EnumProto` [1]. [prop-mis
26352635 ^
26362636
26372637References:
2638- <BUILTINS>/core.js:2890 :59
2638+ <BUILTINS>/core.js:2918 :59
26392639 v-
2640- 2890 | type $EnumProto<TEnum, TEnumValue, TRepresentationType> = {|
2641- 2891 | cast(this: TEnum, input: ?TRepresentationType): void | TEnumValue,
2642- 2892 | getName(this: TEnum, input: TEnumValue): string,
2643- 2893 | isValid(this: TEnum, input: ?TRepresentationType | TEnumValue): boolean,
2644- 2894 | members(this: TEnum): Iterator<TEnumValue>,
2645- 2895 | __proto__: null,
2646- 2896 | |}
2640+ 2918 | type $EnumProto<TEnum, TEnumValue, TRepresentationType> = {|
2641+ 2919 | cast(this: TEnum, input: ?TRepresentationType): void | TEnumValue,
2642+ 2920 | getName(this: TEnum, input: TEnumValue): string,
2643+ 2921 | isValid(this: TEnum, input: ?TRepresentationType | TEnumValue): boolean,
2644+ 2922 | members(this: TEnum): Iterator<TEnumValue>,
2645+ 2923 | __proto__: null,
2646+ 2924 | |}
26472647 -^ [1]
26482648
26492649
@@ -2656,15 +2656,15 @@ Cannot call `E.toString` because property `toString` is missing in `$EnumProto`
26562656 ^^^^^^^^
26572657
26582658References:
2659- <BUILTINS>/core.js:2890 :59
2659+ <BUILTINS>/core.js:2918 :59
26602660 v-
2661- 2890 | type $EnumProto<TEnum, TEnumValue, TRepresentationType> = {|
2662- 2891 | cast(this: TEnum, input: ?TRepresentationType): void | TEnumValue,
2663- 2892 | getName(this: TEnum, input: TEnumValue): string,
2664- 2893 | isValid(this: TEnum, input: ?TRepresentationType | TEnumValue): boolean,
2665- 2894 | members(this: TEnum): Iterator<TEnumValue>,
2666- 2895 | __proto__: null,
2667- 2896 | |}
2661+ 2918 | type $EnumProto<TEnum, TEnumValue, TRepresentationType> = {|
2662+ 2919 | cast(this: TEnum, input: ?TRepresentationType): void | TEnumValue,
2663+ 2920 | getName(this: TEnum, input: TEnumValue): string,
2664+ 2921 | isValid(this: TEnum, input: ?TRepresentationType | TEnumValue): boolean,
2665+ 2922 | members(this: TEnum): Iterator<TEnumValue>,
2666+ 2923 | __proto__: null,
2667+ 2924 | |}
26682668 -^ [1]
26692669
26702670
@@ -2677,8 +2677,8 @@ Cannot cast `E.getName(...)` to boolean because string [1] is incompatible with
26772677 ^^^^^^^^^^^^^^
26782678
26792679References:
2680- <BUILTINS>/core.js:2892 :44
2681- 2892 | getName(this: TEnum, input: TEnumValue): string,
2680+ <BUILTINS>/core.js:2920 :44
2681+ 2920 | getName(this: TEnum, input: TEnumValue): string,
26822682 ^^^^^^ [1]
26832683 methods.js:44:19
26842684 44| E.getName(E.B) as boolean; // Error - wrong type
0 commit comments