
エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント2件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
TypeScriptにpluginがやってくる 作ってみよう編 - Qiita
import * as ts from 'typescript/lib/tsserverlibrary'; const factory: ts.server.PluginModuleFactor... import * as ts from 'typescript/lib/tsserverlibrary'; const factory: ts.server.PluginModuleFactory = (mod: { typescript: typeof ts } ) => { const pluginModule: ts.server.PluginModule = { create: create, }; return pluginModule; } function create (info: ts.server.PluginCreateInfo): ts.LanguageService { return info.languageService; } export = factory; create という名前の関数を用意して、そいつがLanguageServiceを返せばいいだけで
2017/04/20 リンク