typescript samples