@tevm/ts-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.1.0-next.62 • Public • Published

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

Package Sidebar

Install

npm i @tevm/ts-plugin

Weekly Downloads

102

Version

1.1.0-next.62

License

MIT

Unpacked Size

272 kB

Total Files

99

Last publish

Collaborators

  • fucory