We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c949336 commit 2fb0cf7Copy full SHA for 2fb0cf7
jscomp/test/variantsMatching.gen.tsx
@@ -21,4 +21,4 @@ export type MyNullable_t<a> = null | undefined | a;
21
export type MyNullableExtended_t<a> = null | undefined | "WhyNotAnotherOne" | a;
22
23
// tslint:disable-next-line:interface-over-type-literal
24
-export type UntaggedWithBool_t<a> = string | number | boolean | string;
+export type UntaggedWithBool_t = string | number | boolean | string;
jscomp/test/variantsMatching.res
@@ -275,7 +275,7 @@ module CustomTagNotInline = {
275
276
module UntaggedWithBool = {
277
@unboxed @genType
278
- type t<'a> = String(string) | Float(float) | Bool(bool) | Object({name: string})
+ type t = String(string) | Float(float) | Bool(bool) | Object({name: string})
279
280
let classify = x =>
281
switch x {
0 commit comments