Skip to content

Commit cbc905d

Browse files
committed
Fix type definitions for recent API change
1 parent 2237c90 commit cbc905d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gulp/typescript/typescript-definition-test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,8 @@ raster.setPixel(0, 0, color);
543543
raster.setPixel(point, color);
544544
raster.createImageData(size);
545545
raster.getImageData(rectangle);
546-
raster.setImageData({} as ImageData, point);
546+
raster.putImageData({} as ImageData, point);
547+
raster.setImageData({} as ImageData);
547548

548549

549550
//

0 commit comments

Comments
 (0)