@tevm/ts-plugin
v1.0.0-next.109
Published
A typescript plugin for tevm
Downloads
859
Maintainers
Readme
@tevm/ts-plugin
A typescript plugin for adding typescript support and autocomplete to your .sol
file imports.
Installation
npm i @tevm/rollup-plugin @tevm/ts-plugin
Configuration
- Add @tevm/ts-plugin to your
plugins
array incompilerOptions
- if
foundry.toml
config is not in the same directory as the ts-config pass in a relative path to the the project root asproject
config option
{
"compilerOptions": {
"plugins": [
{
"name": "@tevm/ts-plugin",
"project": "../"
}
]
}
}