Skip to content

Instantly share code, notes, and snippets.

@bertrandk
Last active April 22, 2016 15:01
Show Gist options
  • Save bertrandk/5a808f13b9776bc10bfc61a5c40b30b7 to your computer and use it in GitHub Desktop.
Save bertrandk/5a808f13b9776bc10bfc61a5c40b30b7 to your computer and use it in GitHub Desktop.
Typescript Array Includes
declare module "array-includes" {
interface Includes {
includes(arr: Array<any>, searchElement: any, fromIndex?: number): boolean;
}
export = Includes;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment