cal.pub0.org/apps/web/lib/withLocale.tsx

4 lines
95 B
TypeScript

export type WithLocaleProps<T extends Record<string, unknown>> = T & {
newLocale: string;
};