npm.io
0.11.2 • Published 2 years agoCLI

@evmts/ts-plugin

Licence
MIT
Version
0.11.2
Deps
5
Size
2.1 MB
Vulns
1
Weekly
0
Stars
439

@evmts/ts-plugin

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

image

Docs

For full documentumentation see evmts docs

Installation
npm i @evmts/rollup-plugin @evmts/ts-plugin
Configuration
  • Add @evmts/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": "@evmts/ts-plugin",
        "project": "../"
      }
    ]
  }
}

License

Keywords