Skip to content
Angelo edited this page Apr 21, 2017 · 3 revisions

TypeScript Plugins

Language Service Plugins with Proxies is planned for TypeScript 2.3. This feature gives the capability to extend TypeScript tsserver completion, definition, diagnostics, etc with custom plugins. Today it exists 2 plugins :

Enable tslint

Here the step to enable tslint:

  • the node_modules of your TypeScript Runtime must contain tslint and tslint language service like this node_modules. If you are consuming last version of embedded TypeScript, it will work directly.

  • declare your tsconfig.json like this:

{
  "compilerOptions": {
    "plugins": [
            { "name": "tslint-language-service"}
        ]
  }
}

After you will benefit with tslint:

  • when you are typing in the editor and benefit too with quick fixes.
  • when you compile TypeScript

Here a demo with tslint:

tslint demo

Clone this wiki locally
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy