You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

8 lines
261 B

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;