index.d.ts 261 B

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