This sample shows a raytracer implementation in TypeScript.
tsc --sourcemap raytracer.ts start raytracer.html