Эх сурвалжийг харах

[ts] Resolve error when running npm install.

Luke Ingram 1 жил өмнө
parent
commit
73318d6c79

+ 1 - 1
spine-ts/spine-player/src/PlayerEditor.ts

@@ -112,7 +112,7 @@ body { margin: 0px; }
 				this.startPlayer();
 			});
 
-			codeElement.children[0].style.height = "100%";
+			(codeElement.children[0] as HTMLElement).style.height = "100%";
 			this.setCode(SpinePlayerEditor.DEFAULT_CODE);
 		})
 	}