Fix TypeScript typings
Fix TypeScript typings

`module.exports = Anser` is imported via `import * as Anser from "anser"` in TypeScript. For `import Anser from "anser"` to work, you'd need to use `export default Anser`. Rather than change the export, I changed the typings to match the JS instead.
IonicaBizau/anser