rsnext/examples/with-react-intl/next-env.d.ts
Long Ho 5a478b4eef
feat: upgrade react-intl workflow in example (#16215)
Changes:
- Migrate to TypeScript. `react-intl` natively supports TypeScript now.
- Upgrade corresponding `formatjs` packages.
- Dynamically polyfill Intl API per locale since those polyfills are huge.
- Migrate to recommended workflow per https://formatjs.io/docs/getting-started/application-workflow
2020-08-27 22:59:33 +00:00

2 lines
75 B
TypeScript

/// <reference types="next" />
/// <reference types="next/types/global" />