Skip to content

feat: Use enum type for style of NumberFormatOptions - #63

Merged
amannn merged 5 commits into
mainfrom
feat/provide-autocomplete-style
Nov 2, 2021
Merged

feat: Use enum type for style of NumberFormatOptions#63
amannn merged 5 commits into
mainfrom
feat/provide-autocomplete-style

Conversation

@amannn

@amannn amannn commented Nov 2, 2021

Copy link
Copy Markdown
Owner
  • Use enum type for style of NumberFormatOptions
  • Only allow function children for translation values of t.raw
  • Update TypeScript and tslib

@amannn
amannn merged commit d73e935 into main Nov 2, 2021
@amannn
amannn deleted the feat/provide-autocomplete-style branch November 2, 2021 14:25
juanforlizzi pushed a commit to juanforlizzi/next-intl that referenced this pull request Jan 16, 2025
…rmatOptions`, only allow passing React children to messages rendered with `t.rich` and update `tslib` (amannn#63)

* feat: Provide enum type for `style` property of numbers

* Disallow passing functions to translation function

* Use type casts for errors

* Fix TS error

* Update `rootDir` for `next-intl` too
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant