Closed dartess closed 1 year ago
HI! Can you please export BotDetectionResult from package?
BotDetectionResult
Now the type can also be obtained, but this can only be done with a terrible construction like this:
type BotDetectionResult = ReturnType< (ReturnType<typeof load> extends Promise<infer T> ? T : never)['detect'] >;
Hi! Good catch, we will publish this feature soon.
Published in 1.5.0.
HI! Can you please export
BotDetectionResult
from package?Now the type can also be obtained, but this can only be done with a terrible construction like this: