Skip to content

Commit 74dec0c

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc_docs/syntax/decorator_gentype.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ summary: "This is the `@genType` decorator."
66
category: "decorators"
77
---
88

9-
The `@genType` decorator may be used to export ReScript values and types to JavaScript, and import JavaScript values and types into ReScript.
9+
The `@genType` decorator may be used to export ReScript values and types to JavaScript, and import JavaScript values and types into ReScript. It allows seamless integration of compiled ReScript modules in existing TypeScript, Flow, or plain JavaScript codebases, without loosing type information across different type systems.
1010

1111
[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.
1212

0 commit comments

Comments
 (0)