amannn/next-intl

Strict typing of global formats

Opened this issue · 0 comments

Is your feature request related to a problem? Please describe.

Similar to how we support strict typing of messages, we could provide strict typing for formats.

Describe the solution you'd like

Allow the user to define IntlFormats to enable this.

Describe alternatives you've considered

Not providing strict formats.