1.0.0-next.41 • Published 3 months ago

@tevm/ts-plugin v1.0.0-next.41

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

@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 📄