where to check typescript types code example Example: typescript check type mySprite instanceof Sprite;