mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-09 04:02:40 -05:00
9 lines
272 B
TypeScript
9 lines
272 B
TypeScript
export const makeTitle = (endOfTitle: string) => `sendou.ink | ${endOfTitle}`;
|
||
|
||
export type Serialized<T> = {
|
||
[P in keyof T]: T[P] extends Date ? string : Serialized<T[P]>;
|
||
};
|
||
|
||
// TODO:
|
||
// export type InferredSerializedAPI<T> = Serialized<Prisma.PromiseReturnType<T>>;
|