Skip to content

Commit 2fb0cf7

Browse files
committed
Remove redundant type argument
1 parent c949336 commit 2fb0cf7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jscomp/test/variantsMatching.gen.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ export type MyNullable_t<a> = null | undefined | a;
2121
export type MyNullableExtended_t<a> = null | undefined | "WhyNotAnotherOne" | a;
2222

2323
// tslint:disable-next-line:interface-over-type-literal
24-
export type UntaggedWithBool_t<a> = string | number | boolean | string;
24+
export type UntaggedWithBool_t = string | number | boolean | string;

jscomp/test/variantsMatching.res

+1-1
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ module CustomTagNotInline = {
275275

276276
module UntaggedWithBool = {
277277
@unboxed @genType
278-
type t<'a> = String(string) | Float(float) | Bool(bool) | Object({name: string})
278+
type t = String(string) | Float(float) | Bool(bool) | Object({name: string})
279279

280280
let classify = x =>
281281
switch x {

0 commit comments

Comments
 (0)