Advanced

TypeScript Plugin

The pico-intl TypeScript language service plugin gives you autocomplete, hover previews, go-to-definition, and compile-time errors for translation keys.

ts
{
  "compilerOptions": {
    "plugins": [{ "name": "@pico-intl-dev/ts-plugin" }]
  }
}

Key points

  • The TypeScript plugin remains experimental.
  • It has LanguageService tests but needs broader editor coverage.
  • Do not treat plugin behavior as part of the stable runtime contract.

Next step

Copy the example into a small fixture, run the validation commands, and keep framework-specific routing, hydration, or SSR behavior covered by your app tests.