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

Cannot find name 'VideoFrame'. #142

Closed
XorTdsc opened this issue Oct 26, 2023 · 1 comment
Closed

Cannot find name 'VideoFrame'. #142

XorTdsc opened this issue Oct 26, 2023 · 1 comment

Comments

@XorTdsc
Copy link

XorTdsc commented Oct 26, 2023

I'm trying to make my first steps with WebGPU using TypeScript/Angular and wanted to user you types. However upon calling ng serve I'll get the two errors:

Error: node_modules/@webgpu/types/dist/index.d.ts:85:7 - error TS2304: Cannot find name 'VideoFrame'.
Error: node_modules/@webgpu/types/dist/index.d.ts:811:7 - error TS2304: Cannot find name 'VideoFrame'.

Suggested by this post, I already tried to install @types/dom-webcodecs as well, without success.
Can somebody suggest a solution to this ?

@kainino0x
Copy link
Collaborator

You need either a newer version of Typescript or an older version of @types/dom-webcodecs. See #127 (comment)

@kainino0x kainino0x closed this as not planned Won't fix, can't repro, duplicate, stale Oct 26, 2023
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

2 participants