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

2.2.10 • Public • Published

typescript plugin

This is a plug-in for tsserver or typescript-language-server. It must be installed in a file-system location accessible by the language server or in the node_modules directory of projects being edited.

The LSP client must be configured to explicitly enable this plug-in. This is done by passing initializationOptions with the appropriate plugins configuration to the language server:

"initializationOptions":  {
    "plugins": [
        {
          "name": "@vue/typescript-plugin",
          "location": "/usr/local/lib/node_modules/@vue/language-server",
          "languages": ["vue"],
        },
    ],
  },

The languages field must specify file-types for which the plug-in will be enabled. If the plug-in package is installed in the local node_modules, the location field may contain any arbitrary string, but MUST be present.

Client-specific configuration

/@vue/typescript-plugin/

    Package Sidebar

    Install

    npm i @vue/typescript-plugin

    Weekly Downloads

    50,386

    Version

    2.2.10

    License

    MIT

    Unpacked Size

    91 kB

    Total Files

    45

    Last publish

    Collaborators

    • johnsoncodehk
    • kazariex