Move back the constructor signature with Uint8ClampedArray

This commit is contained in:
zhengbli
2015-08-19 15:01:23 -07:00
parent 9848e335d8
commit 831d2eb137
2 changed files with 2 additions and 0 deletions

View File

@@ -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;

View File

@@ -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;