type annotations can only be used in typescript files.ts(8010)

Configure the VS settings file

  • On macOS: preference → setting → search for settings.json → click Edit in settings.json
  • Add these settings
    • "javascript.validate.enable": false
    • "typescript.validate.enable": false,
Stay updated

Get weekly research updates, market signals, and listing intelligence — follow along on Telegram or X.