Validation_Suite/validation-suite/frontend/atlas/node_modules/es-shim-unscopables/index.d.ts

8 lines
No EOL
261 B
TypeScript

type Unscopableable = string & {
[K in keyof typeof Array.prototype]:
typeof Array.prototype[K] extends Function ? K : never
}[keyof typeof Array.prototype];
declare function shimUnscopables(method: Unscopableable): void;
export = shimUnscopables;