npm.io
1.0.0-next.148 • Published 1 year agoCLI

@tevm/ts-plugin

Licence
MIT
Version
1.0.0-next.148
Deps
8
Size
423 kB
Vulns
4
Weekly
0
Stars
449

@tevm/ts-plugin

A typescript plugin for adding typescript support and autocomplete to your .sol file imports.

image

Installation

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
{
  "compilerOptions": {
    "plugins": [
      {
        "name": "@tevm/ts-plugin",
        "project": "../"
      }
    ]
  }
}

License

Keywords