Closed Finesse closed 9 months ago
👎🏻
The option is still there, it's just not documented
The option is still there, it's just not documented
First of all, it is just bad practice to deliberately try to hide this type of option.
Second, you could at least make sure Your types support the option without @ts-ignore
by using unknown
instead of never.
The option is still there, it's just not documented
First of all, it is just bad practice to deliberately try to hide this type of option.
Second, you could at least make sure Your types support the option without
@ts-ignore
by usingunknown
instead ofnever.
Released 1.7.2.
with changed the definitions to export async function load(options?: Record<keyof any, any>)
Hi @kianandersson, you are right, this change was unintended, here is a PR adding the types and documentation back in, it should be merged shortly: https://github.com/fingerprintjs/BotD/pull/156
Thank you for your feedback!
A business decision. DM me if you need more details.