docs: mention ttypescript, a common integration (#379)

- `ttypescript` is commonly used for `transformers` and is referenced various times in the issues
  - so add it to the docs for searchability
This commit is contained in:
Anton Gilgur 2022-07-12 11:53:04 -04:00 committed by GitHub
parent 70724b1af5
commit 9e7adaa2e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -186,6 +186,8 @@ See [#108](https://github.com/ezolenko/rollup-plugin-typescript2/issues/108)
If you'd like to use a different version of TS than the peerDependency, you can import a different TypeScript module and pass it in as `typescript: require("path/to/other/typescript")`.
You can also use an alternative TypeScript implementation, such as [`ttypescript`](https://github.com/cevek/ttypescript), with this option.
Must be TS 2.0+; things might break if the compiler interfaces changed enough from what the plugin was built against.
* `transformers`: `undefined`