Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

TypeScript Plugins

Angelo edited this pageApr 21, 2017 ·3 revisions

TypeScript Plugins

Language Service Plugins with Proxies isplanned 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:

  • thenode_modules of your TypeScript Runtime must containtslint andtslint language service like thisnode_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 aretyping in the editor and benefit too withquick fixes.
  • when youcompile TypeScript

Here a demo with tslint:

tslint demo

Clone this wiki locally


[8]ページ先頭

©2009-2025 Movatter.jp