Cannot compile beginning lines of tutorial - TS
michaelmoreno opened this issue · 1 comments
michaelmoreno commented
Following the guide on github, I have
import * as PIXI from 'pixi.js';
//Create a Pixi Application
const app = new PIXI.Application({width: 256, height: 256});
//Add the canvas that Pixi automatically created for you to the HTML document
document.body.appendChild(app.view);
When I try to compile I get
TS2345: Argument of type 'ICanvas' is not assignable to parameter of type 'Node'.
Type 'ICanvas' is missing the following properties from type 'Node': baseURI, childNodes, firstChild, isConnected, and 42 more.
on the last line
313258196 commented
that's doesn't matter