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

1.7.0 • Public • Published

@astrojs/ts-plugin

Using the Astro VS Code extension? This plugin is automatically installed and configured for you.

TypeScript plugin adding support for .astro imports in .ts files. This plugin also adds support for renaming symbols and finding references across .ts and .astro files.

Installation

npm install --save-dev @astrojs/ts-plugin

Usage

Add the plugin to your tsconfig.json:

{
  "compilerOptions": {
    "plugins": [
      {
        "name": "@astrojs/ts-plugin"
      }
    ]
  }
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.7.0
    0
    • latest

Version History

Package Sidebar

Install

npm i @astrojs/ts-plugin

Weekly Downloads

9,023

Version

1.7.0

License

MIT

Unpacked Size

14.1 kB

Total Files

9

Last publish

Collaborators

  • natemoo-re
  • fredkschott
  • matthewp