Files
pihkaal-me/src/utils/types.ts

14 lines
396 B
TypeScript

import { type KittyContextProps } from "~/context/KittyContext";
export type Prettify<T> = NonNullable<{ [K in keyof T]: T[K] }>;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export type InnerKittyProps<T extends (...args: any[]) => any> = Prettify<
Parameters<T>[0] & KittyContextProps
>;
export type RootManifest = {
files: Array<string>;
projects: Array<string>;
};