-
-
Notifications
You must be signed in to change notification settings - Fork 500
Closed
Labels
bugSomething isn't workingSomething isn't workinggood reproduction ✨This issue provides a good reproduction, we will be able to investigate it firstThis issue provides a good reproduction, we will be able to investigate it first
Description
Vue - Official extension or vue-tsc version
2.1.2
VSCode version
1.92.2
Vue version
3.4.37
TypeScript version
5.5.4
System Info
No response
Steps to reproduce
- Clone the repo:
git clone -b fallthrough-attrs-reproduction https://github.com/jellyfin/jellyfin-vue - Change to the appropiate workspace and install dependencies:
cd frontend && npm ci - Run typecheck:
npm run typecheck
What is expected?
Type checking passes successfully and fallthrough attributes are properly inferred.
What is actually happening?
The following stacktrace is printed:
/workspaces/jellyfin-vue/node_modules/vue-tsc/index.js:45
throw err;
^
RangeError: Maximum call stack size exceeded
at getObjectTypeInstantiation (/workspaces/jellyfin-vue/node_modules/typescript/lib/tsc.js:61411:38)
at instantiateTypeWorker (/workspaces/jellyfin-vue/node_modules/typescript/lib/tsc.js:61670:16)
at instantiateTypeWithAlias (/workspaces/jellyfin-vue/node_modules/typescript/lib/tsc.js:61650:20)
at instantiateType (/workspaces/jellyfin-vue/node_modules/typescript/lib/tsc.js:61628:29)
at getMappedType (/workspaces/jellyfin-vue/node_modules/typescript/lib/tsc.js:61307:67)
at /workspaces/jellyfin-vue/node_modules/typescript/lib/tsc.js:61433:56
at map (/workspaces/jellyfin-vue/node_modules/typescript/lib/tsc.js:199:19)
at getObjectTypeInstantiation (/workspaces/jellyfin-vue/node_modules/typescript/lib/tsc.js:61433:29)
at instantiateTypeWorker (/workspaces/jellyfin-vue/node_modules/typescript/lib/tsc.js:61670:16)
at instantiateTypeWithAlias (/workspaces/jellyfin-vue/node_modules/typescript/lib/tsc.js:61650:20)
Link to minimal reproduction
https://github.com/jellyfin/jellyfin-vue
Any additional comments?
- Disabling
fallthroughAttributescompletes the typechecking (with type errors though) successfully.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood reproduction ✨This issue provides a good reproduction, we will be able to investigate it firstThis issue provides a good reproduction, we will be able to investigate it first