Skip to content

Commit 7c5f343

Browse files
Update misc_docs/syntax/decorator_gentype.mdx
Co-authored-by: Patrick Ecker <[email protected]>
1 parent 6896b86 commit 7c5f343

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

misc_docs/syntax/decorator_gentype.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ category: "decorators"
88

99
The `@genType` decorator may be used to export ReScript values and types to JavaScript, and import JavaScript values and types into ReScript.
1010

11-
[GenType](/docs/gentype/latest/introduction) is powerful code generation tool that can automatically generate [TypeScript](https://www.typescriptlang.org/) or [Flow](https://flow.org/) types, and also includes support for [ReasonReact](https://reasonml.github.io/reason-react/) components.
11+
[GenType](/docs/gentype/latest/introduction) is a code generation tool for automatically generating [TypeScript](https://www.typescriptlang.org/) / [Flow](https://flow.org/) type definitions, and JS runtime converters for non-shared ReScript values. It also features first-class support for [ReasonReact](https://reasonml.github.io/reason-react/) components.
12+
13+
**Note:** This decorator requires the `gentype` npm package to be installed and configured correctly. Please refer to genType's [Getting Started](/docs/gentype/latest/getting-started) section for more details.
1214

1315
### Example
1416

0 commit comments

Comments
 (0)