Skip to content

Commit cbfab28

Browse files
committed
Remove unncessary note on genType intro example
1 parent 2fe98a2 commit cbfab28

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pages/docs/gentype/latest/introduction.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ let make = (~name: string, ~color: color) => {
3939
};
4040
```
4141

42-
> **Note:** We need to add a `@genType` annotation for `type color` as well, otherwise `genType` cannot create any type conversions for us.
43-
4442
On a successful compile, `genType` will convert `src/MyComp.res` to a TS file called `src/MyComp.gen.ts` which will look something like this:
4543

4644
```ts

0 commit comments

Comments
 (0)