Skip to content
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

Type error on build #5

Open
chaecramb opened this issue Jan 6, 2025 · 0 comments
Open

Type error on build #5

chaecramb opened this issue Jan 6, 2025 · 0 comments

Comments

@chaecramb
Copy link

Thanks for your work on this. Just trying it out and got the following error on npm run build

ERROR in ./src/app/templates/smplayer/SMPlayer.tsx:547:7
TS2322: Type '{ v_id: string; info: ArchiveInfo | undefined; handleCopyVideoDetails: () => void; setResolution: (res: string) => void; start: string | null; stop: string | null; }' is not assignable to type 'IntrinsicAttributes & ClipToolProps<unknown>'.
  Property 'start' does not exist on type 'IntrinsicAttributes & ClipToolProps<unknown>'.
    545 |       {/* <ReactExtension /> */}
    546 |       <ClipTool v_id={queryParameters.get("videoid")?.trim() ?? ""} info={archiveInfo} handleCopyVideoDetails={handleCopyVideoDetails} setResolution={setResolution}
  > 547 |       start={start} stop={stop}/>
        |       ^^^^^
    548 |       { archiveInfo && <Archive v_id={queryParameters.get("videoid")?.trim() ?? ""} info={archiveInfo} setInfo={setArchiveInfo}/> }
    549 |       { archiveInfo?.captions?.caption_tracks &&
    550 |       archiveInfo.captions.caption_tracks.length > 0 ?
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

No branches or pull requests

1 participant