The typescript definition file has abort() and send(content) return "undefined" as a type instead of "void" [line 17 and 18]. This is causing an issue with the typescript compiler.
This was a bug in the tool we use to generate the .d.ts files. It's since been fixed, and the definition file will be updating as part of the next release.
The typescript definition file has abort() and send(content) return "undefined" as a type instead of "void" [line 17 and 18]. This is causing an issue with the typescript compiler.