0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 09:50:43 -05:00
server/project/src/helpers/UtilityHelper.ts
Refringe 5740774a46
Apply Biome Formatting
This is the result of running `npm run format` which applies the Biome formatting rules. Rejoice!
2024-07-23 11:12:53 -04:00

9 lines
190 B
TypeScript

import { injectable } from "tsyringe";
@injectable()
export class UtilityHelper {
public arrayIntersect<T>(a: T[], b: T[]): T[] {
return a.filter((x) => b.includes(x));
}
}