Skip to content

Commit 76203a4

Browse files
committed
docs(Readme): add info about how to use Typescript
1 parent e798ed4 commit 76203a4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ Decko establishes 3 standard decorators that are immediately recognizable, so yo
1212

1313
> 💡 **Tip:** decko is particularly well-suited to [**Preact Classful Components**](https://github.com/developit/preact).
1414
>
15-
> 💫 **Note:** For Babel 6+, be sure to install [babel-plugin-transform-decorators-legacy](https://github.com/loganfsmyth/babel-plugin-transform-decorators-legacy).
15+
> 💫 **Note:**
16+
> - For Babel 6+, be sure to install [babel-plugin-transform-decorators-legacy](https://github.com/loganfsmyth/babel-plugin-transform-decorators-legacy).
17+
> - For Typescript, be sure to enable `{"experimentalDecorators": true}` in your tsconfig.json.
1618
1719

1820
## Installation

0 commit comments

Comments
 (0)