p2p-typescript Install the TypeScript compiler: yarn global add typescript Compile an example: tsc path/to/file.ts