Updated TypeScript defs which now compiles against 1.2 (but still missing quite a few areas).
New build files that match them.