This example shows how to use Tailor with Typescript
Basically there 2 ways to use node with typescript. In both cases types will be checked and from external point of view they should behave identically.
Install ts-node and just run this file:
ts-node ./index.ts
Install TypeScript compiler and execute following;
tsc ./index.ts
# Now we have index.js and can run it with node.js
node ./index.js