Open
Description
It seems there is some problem with typing of interfaces (not
, any
, all
).
E.g. is.empty('Alice')
is ok, but if I use is.not.empty('Alice')
then type checker claims
"Property 'existy' does not exist on type '{}'.ts-plugin(2339)"
I guess the cause of problem is that interfaces are declared in is-it-check.d.ts
as
export declare let not: {};
export declare let all: {};
export declare let any: {};
It likely should be something like
export declare let not: any;
export declare let all: any;
export declare let any: any;
but I do not consider myself to be an expert... :-)
Metadata
Metadata
Assignees
Labels
No labels