xxxxxxxxxx
Phaser is a fast, free and opersource 2d game engine written in javascript,
You can use either javascript or typescript to create games using it
as it has a great type support.
It can use both Canvas 2d Context and WebGL for rendering that can be specified
by the developer.
https://phaser.io/