A catch clause with typedefinition isn't supported by TypeScript
Fixes #145
Merge pull request #151 from DickvdBrink/typedef-error

A catch clause with typedefinition isn't supported by TypeScript