-
-
Notifications
You must be signed in to change notification settings - Fork 9k
types(jsx-runtime): use interface instead of type for ReservedProps #12385
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
Conversation
…extend IntrinsicAttributes closed vuejs#12384
Size ReportBundles
Usages
|
@vue/compiler-core
@vue/compiler-dom
@vue/compiler-sfc
@vue/compiler-ssr
@vue/reactivity
@vue/runtime-core
@vue/runtime-dom
@vue/server-renderer
@vue/shared
vue
@vue/compat
commit: |
|
Caution Review failedThe pull request is closed. WalkthroughThe PR converts Changes
Sequence Diagram(s)sequenceDiagram
participant User as User code (d.ts)
participant RuntimeJSX as packages/runtime-dom/src/jsx.ts
User->>RuntimeJSX: declare module augmentation adding fields to ReservedProps
Note right of RuntimeJSX: ReservedProps is an interface\nso declaration merging applies
RuntimeJSX-->>User: merged ReservedProps visible to JSX typings
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
Comment |
closed #12384
Summary by CodeRabbit