@tevm/ts-plugin
Version:
A typescript plugin for tevm
34 lines (24 loc) • 857 B
Markdown
## @tevm/ts-plugin
A typescript plugin for adding typescript support and autocomplete to your `.sol` file imports.

#### Installation
```bash [npm]
npm i @tevm/rollup-plugin @tevm/ts-plugin
```
### Configuration
- Add @tevm/ts-plugin to your `plugins` array in `compilerOptions`
- if `foundry.toml` config is not in the same directory as the ts-config pass in a relative path to the the project root as `project` config option
```json
{
"compilerOptions": {
"plugins": [
{
"name": "@tevm/ts-plugin",
"project": "../"
}
]
}
}
```
## License 📄
<a href="./LICENSE"><img src="https://user-images.githubusercontent.com/35039927/231030761-66f5ce58-a4e9-4695-b1fe-255b1bceac92.png" width="200" /></a>