Results 2 issues of huang puguang

Thanks for this great project! but I have a question about ts types. When I used this package in my ts project, I noticed that tsc did not give type...

I added the following code in [examples/demo/basic.js](https://github.com/pixijs/tilemap/blob/main/examples/demo/basic.js) to make it support mouse dragging, but the tilemap moved incorrectly by twice the distance. ```js await app.init({ width: 800, height: 600, preference:...