TypeScript: Throw on missing property. Fixed #694