check syntax of typescript types code example Example: typescript check type mySprite instanceof Sprite;