Merge pull request #1629 from andrewhosgood/master

Updates to TypeScript definitions