misskey/src/prelude/relation.ts
2018-12-19 17:00:07 +09:00

4 lines
101 B
TypeScript

export type Relation<T, U> = (x: T, y: U) => boolean;
export type EndoRelation<T> = Relation<T, T>;