I am not aware of a full blown TS example, though it won’t be anything fancy. The most basic example would be adding types and a more elaborate example would be using a ES6 class style definition for your scripts.
Check the following thread for simple examples on both cases: