Bot-HandOff
Bot-HandOff copied to clipboard
Errors with strict type-checking
Hi,
I was experimenting with your library and I'm having trouble integrating it with my typescript code.
If I simply take the code in the current master and try to compile it with tsc
, I get a large number of type-checking errors, ranging from implicit any
to Object is possibly 'undefined
to forbidden parameter assignments. I have set my tsconfig.json
to "strict" = true
as per recommended best practices.
As an alternative, I considered using your npm package but it didn't seem to contain the type definitions, so I would lose all the type-checking benefits after integration.
If I use it as normal javascript, everything works fine.
Thanks, Dan