UNPKG

@vidavidorra/create-project

Version:
24 lines (23 loc) 694 B
import { z } from 'zod'; import { type Options } from '../options.js'; import { File } from './file.js'; declare const schema: z.ZodObject<{ compilerOptions: z.ZodObject<{ allowJs: z.ZodOptional<z.ZodBoolean>; }, z.core.$loose>; include: z.ZodArray<z.ZodString>; }, z.core.$strict>; type Config = z.infer<typeof schema>; declare class TsConfig extends File { protected readonly _config: Config; constructor(path: string, options: Options); get config(): { compilerOptions: { [x: string]: unknown; allowJs?: boolean | undefined; }; include: string[]; }; process(): this; } export { TsConfig, type Config };