aboutsummaryrefslogtreecommitdiff
path: root/src/global.d.ts
blob: a90ef61a19cc99a5ecfd8ce8cc26c45966bbec90 (plain)
1
2
3
4
5
6
7
8
9
10
11
export {}

// Temporary solution for typescript not including Array.findLast()
declare global {
	interface Array<T> {
		findLast(
			predicate: (value: T, index: number, obj: T[]) => unknown,
			thisArg?: any
		): T | undefined
	}
}