We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41f960a commit 232cf78Copy full SHA for 232cf78
jscomp/gentype_tests/typescript-react-example/src/Unboxed.gen.tsx
@@ -16,7 +16,7 @@ export type r2 = string;
16
17
export type t = number[] | number | ((_1:number) => number);
18
19
-export type tabIndex = "0" | "1";
+export type tabIndex = "0" | "1" | 0;
20
21
export const testV1: (x:v1) => v1 = UnboxedBS.testV1;
22
jscomp/gentype_tests/typescript-react-example/src/Unboxed.res
@@ -18,7 +18,7 @@ type r2 = B({g: string})
type t = Array(array<int>) | Record({x: int}) | Function((. int) => int)
@genType
-type tabIndex = | @as("0") Activity | @as("1") UserKeyword
+type tabIndex = | @as("0") Activity | @as("1") UserKeyword | @as(0) NumZero
23
24
let a = Activity
0 commit comments