Skip to content

Commit

Permalink
Update docs/plugin-transform-typescript.md
Browse files Browse the repository at this point in the history
Co-Authored-By: Brian Ng <bng412@gmail.com>
  • Loading branch information
nicolo-ribaudo and existentialism committed Mar 17, 2020
1 parent cb22bb3 commit 183d619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/plugin-transform-typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ equivalents in Babel can be enabled by some configuration options or plugins.
- `--importHelpers`
This is the equivalent of the `@babel/plugin-transform-runtime` package.
- `---importsNotUsedAsValues`
You can the `onlyRemoveTypeImports` option to replicate this behavior. `onlyRemoveTypeImports: true` is equivalent to `importsNotUsedAsValues: preserve`, while `onlyRemoveTypeImports: false` is equivalent to `importsNotUsedAsValues: remove`. There is no equivalent for `importsNotUsedAsValues: error`.
You can use the `onlyRemoveTypeImports` option to replicate this behavior. `onlyRemoveTypeImports: true` is equivalent to `importsNotUsedAsValues: preserve`, while `onlyRemoveTypeImports: false` is equivalent to `importsNotUsedAsValues: remove`. There is no equivalent for `importsNotUsedAsValues: error`.
- `--inlineSourceMap`
You can set the [`sourceMaps: "inline"`](https://babeljs.io/docs/en/options#sourcemaps) option in your `babel.config.json` file.
- `--isolatedModules`
Expand Down

0 comments on commit 183d619

Please sign in to comment.