mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Move back the constructor signature with Uint8ClampedArray
This commit is contained in:
Vendored
+1
@@ -7019,6 +7019,7 @@ interface ImageData {
|
||||
interface ImageDataConstructor {
|
||||
prototype: ImageData;
|
||||
new(width: number, height: number): ImageData;
|
||||
new(array: Uint8ClampedArray, width: number, height: number): ImageData;
|
||||
}
|
||||
|
||||
declare var ImageData: ImageDataConstructor;
|
||||
|
||||
Vendored
+1
@@ -468,6 +468,7 @@ interface ImageData {
|
||||
interface ImageDataConstructor {
|
||||
prototype: ImageData;
|
||||
new(width: number, height: number): ImageData;
|
||||
new(array: Uint8ClampedArray, width: number, height: number): ImageData;
|
||||
}
|
||||
|
||||
declare var ImageData: ImageDataConstructor;
|
||||
|
||||
Reference in New Issue
Block a user