-
-
Notifications
You must be signed in to change notification settings - Fork 364
Fix declaration order in Number formatting with options ResourceKeys must be before OptionsType #2205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…must be before OptionsType for DateTimeOptions and NumberOptions
WalkthroughThe change updates the order of generic type parameters for the Changes
Sequence Diagram(s)Not applicable: The change is limited to type parameter ordering and does not affect control flow or introduce new features. Possibly related PRs
Suggested labels
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used🧬 Code Graph Analysis (1)packages/vue-i18n/src/vue.d.ts (3)
🔇 Additional comments (2)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Fix build error since 11.1.5 with vue-tsc :
node_modules/vue-i18n/dist/vue-i18n.d.ts:3814:43 - error TS2744: Type parameter defaults can only reference previously declared type parameters.
3814 OptionsType = DateTimeOptions<Key | ResourceKeys>,
~~~~~~~~~~~~
node_modules/vue-i18n/dist/vue-i18n.d.ts:4022:41 - error TS2744: Type parameter defaults can only reference previously declared type parameters.
4022 OptionsType = NumberOptions<Key | ResourceKeys>,
~~~~~~~~~~~~
Summary by CodeRabbit