Typescript updates (#9658)
* Typescript updates * Update @types/node * Fix more types
This commit is contained in:
Vendored
-4
@@ -149,14 +149,10 @@ declare global {
|
||||
|
||||
// https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas
|
||||
interface OffscreenCanvas {
|
||||
height: number;
|
||||
width: number;
|
||||
getContext: HTMLCanvasElement["getContext"];
|
||||
convertToBlob(opts?: {
|
||||
type?: string;
|
||||
quality?: number;
|
||||
}): Promise<Blob>;
|
||||
transferToImageBitmap(): ImageBitmap;
|
||||
}
|
||||
|
||||
interface HTMLAudioElement {
|
||||
|
||||
Reference in New Issue
Block a user