Skip to content

fix: export missing Vue component prop types#1760

Open
velocitysystems wants to merge 1 commit intovidstack:mainfrom
velocitysystems:bug/1759
Open

fix: export missing Vue component prop types#1760
velocitysystems wants to merge 1 commit intovidstack:mainfrom
velocitysystems:bug/1759

Conversation

@velocitysystems
Copy link

@velocitysystems velocitysystems commented Mar 16, 2026

Summary

  • Add missing export keyword to ChapterTitleProps in src/elements/define/chapter-title-element.ts
  • Re-export ChapterTitleProps, MediaLayoutProps, and SpinnerProps from src/exports/components.ts

These three types are imported by the generated vue.d.ts from './index', but were never exported from the public barrel. This silently breaks the entire declare module 'vue' augmentation, causing all vidstack custom elements to be unrecognized in Vue templates.

Fixes #1759

Test plan

  • Create a Vue + TypeScript project with skipLibCheck: false and strictTemplates: true
  • Import vidstack/vue types and use vidstack custom elements in a template
  • Run npx vue-tsc --noEmit and confirm no missing export or TS2339 errors

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.

ChapterTitleProps, MediaLayoutProps, and SpinnerProps types are not exported

1 participant