Skip to content

[3.x] Fix defineOptions({ layout: [...] }) type error with nested layouts#3023

Merged
pascalbaljet merged 1 commit into
3.xfrom
3.x-vue-nested-layout-type-fix
Mar 31, 2026
Merged

[3.x] Fix defineOptions({ layout: [...] }) type error with nested layouts#3023
pascalbaljet merged 1 commit into
3.xfrom
3.x-vue-nested-layout-type-fix

Conversation

@pascalbaljet
Copy link
Copy Markdown
Member

This PR fixes a vue-tsc type error when passing three or more components with distinct typed props to defineOptions({ layout: [...] }).

Fixes #3012.

@pascalbaljet pascalbaljet merged commit a039259 into 3.x Mar 31, 2026
60 of 64 checks passed
@pascalbaljet pascalbaljet deleted the 3.x-vue-nested-layout-type-fix branch March 31, 2026 10:47
@bakerkretzmar
Copy link
Copy Markdown

Thanks!

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.

[3.x] defineOptions({ layout: [...] }) type error with array of nested layouts

2 participants