Skip to content

Commit

Permalink
Fix type definitions for recent API change
Browse files Browse the repository at this point in the history
  • Loading branch information
lehni committed Mar 21, 2021
1 parent 2237c90 commit cbc905d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gulp/typescript/typescript-definition-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,8 @@ raster.setPixel(0, 0, color);
raster.setPixel(point, color);
raster.createImageData(size);
raster.getImageData(rectangle);
raster.setImageData({} as ImageData, point);
raster.putImageData({} as ImageData, point);
raster.setImageData({} as ImageData);


//
Expand Down

0 comments on commit cbc905d

Please sign in to comment.