strapi/packages/core/admin/index.d.ts
Josh eb7b88426d
fix(pack-up): ensure we pass the tsconfig file name, not a path to it (#18875)
* fix(pack-up): ensure we pass the tsconfig file name, not a path to it

fix(admin): annotate return type on createBuildContext

fix(admin): ensure shared is a the base folder not importing from server

chore(pack-up): PRINT MOREEEE

fix(ctb): export required type

chore: refactor tsconfigs

* chore: pr amends
2023-11-23 09:16:25 +00:00

23 lines
472 B
TypeScript

interface BuildArgs {
optimize?: boolean;
}
declare const build: (args: BuildArgs) => Promise<void>;
interface CleanArgs {
appDir: string;
buildDestDir: string;
}
declare const clean: (args: CleanArgs) => Promise<void>;
interface WatchAdminArgs {
browser?: string | boolean;
open?: boolean;
polling?: boolean;
}
declare const watchAdmin: (args: WatchAdminArgs) => Promise<void>;
export { build, BuildArgs, clean, CleanArgs, watchAdmin, WatchAdminArgs };