knip
Version:
Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects
8 lines (7 loc) • 318 B
TypeScript
export type Entry = (string | Record<string, string[] | string>)[] | string | Record<string, string[] | string>;
type Options = {
entry?: Entry;
};
type MaybePromise<T> = T | Promise<T>;
export type TsdownConfig = Options | Options[] | ((overrideOptions: Options) => MaybePromise<Options | Options[]>);
export {};