You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Argument of type 'string | ArrayBuffer | Blob | number[] | Uint8Array | Buffer | ReadableStream' is not assignable to parameter of type 'Blob | MediaSource'.
#120
Open
nadralia opened this issue
Feb 14, 2024
· 1 comment
I keep getting this typescript issue here below on this line const url = URL.createObjectURL(blob);
Argument of type 'string | ArrayBuffer | Blob | number[] | Uint8Array | Buffer | ReadableStream' is not assignable to parameter of type 'Blob | MediaSource'.
Type 'string' is not assignable to type 'Blob | MediaSource'.ts(2345)
const blob: string | Blob | number[] | Uint8Array | ArrayBuffer | Buffer | ReadableStream
Because of the way we're doing type inference in our typescript definition files, you need to provide the template argument for the type as well. Try changing this
I keep getting this typescript issue here below on this line
const url = URL.createObjectURL(blob);
The text was updated successfully, but these errors were encountered: