mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-11 12:00:27 +08:00
fix test failure
This commit is contained in:
1 parent
bda09ebbc3
commit
325b5d5bcb
1 file changed
+1
-1
@@ -99,7 +99,7 @@ function test_gif_rendering() {
|
||||
var WIDTH = 64;
|
||||
var HEIGHT = 28;
|
||||
|
||||
var img = document.getElementById('animation');
|
||||
var img = <HTMLCanvasElement>document.getElementById('animation');
|
||||
var ctx = <CanvasRenderingContext2D>document.createElement('canvas').getContext("2d");
|
||||
var canvas = <HTMLCanvasElement>document.getElementById('canvas-uncle');
|
||||
|
||||
|
||||
Reference in new issue
Block a user