Skip to content

Commit 20efe19

Browse files
authored
Update decorators.md
Fix typo in babel plugin configuration example
1 parent 4ab6a39 commit 20efe19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_guide/decorators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ To enable the plugins, you'd add code like this to your Babel configuration:
8484
```js
8585
plugins = [
8686
'@babel/plugin-proposal-class-properties',
87-
['@babel/proposal-decorators', {decoratorsBeforeExport: true}],
87+
['@babel/plugin-proposal-decorators', {decoratorsBeforeExport: true}],
8888
];
8989
```
9090

0 commit comments

Comments
 (0)