Updated TypeScript definition files to align with recent changes.

It also contains *-tests.ts files. It's from DT repo, that is now synced by folder (merged with history).