aboutsummaryrefslogtreecommitdiff
path: root/lib/global.ts
blob: 0a0bcca9703c7ae691187aad5a2607df2923f432 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* eslint-disable */

declare global {
	interface ReadonlyArray<T> {
		includes<S, R extends `${Extract<S, string>}`>(
			this: ReadonlyArray<R>,
			searchElement: S,
			fromIndex?: number
		): searchElement is R & S;
	}
}

export {};