Add typescript declarations for core-js-compat #2055
Annotations
10 errors
lint
'compat' refers to a value, but is being used as a type here. Did you mean 'typeof compat'?
|
lint
Type 'string' does not satisfy the constraint 'never'.
|
lint
Argument of type '{ targets: { node: number; }; }' is not assignable to parameter of type 'Options'.
|
lint
Argument of type '{ targets: { node: number; }; }' is not assignable to parameter of type 'Options'.
|
lint
Argument of type '{}' is not assignable to parameter of type 'Options'.
|
lint
Argument of type '{ modules: string; }' is not assignable to parameter of type 'Options'.
|
lint
Argument of type '{ modules: string; }' is not assignable to parameter of type 'Options'.
|
lint
Argument of type '{ modules: RegExp; }' is not assignable to parameter of type 'Options'.
|
lint
Argument of type '{ modules: (string | RegExp)[]; }' is not assignable to parameter of type 'Options'.
|
lint
Argument of type '{ exclude: string; }' is not assignable to parameter of type 'Options'.
|