mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-03-28 21:34:41 -05:00
7 lines
233 B
TypeScript
7 lines
233 B
TypeScript
import { Ability } from "@prisma/client";
|
|
|
|
export type Unpacked<T> = T extends (infer U)[] ? U : T;
|
|
export type PartialBy<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
|
|
|
|
export type AbilityOrUnknown = Ability | "UNKNOWN";
|