how to tell typescript that I know a type exist code example Example: typescript check type mySprite instanceof Sprite;