LoginSignup
5
2

More than 5 years have passed since last update.

type can be used by only '.ts' files

Posted at

VSCodeでFlowを使うとtype can be used by only '.ts' filesとエラーでる。

これは上記issueにあるように、以下の設定を追加することで回避できる。

    "flow.useNPMPackagedFlow": true,
    "javascript.validate.enable": false,
5
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
2