Can you send a pull request too add this to DefinitelyTyped with the new fixed you and Daniel did?  

Thanks!