UNPKG

@tryloop/oats

Version:

🌾 OATS - OpenAPI TypeScript Sync. The missing link between your OpenAPI specs and TypeScript applications. Automatically watch, generate, and sync TypeScript clients from your API definitions.

16 lines • 542 B
/** * Configuration Loader * * Loads OATS configuration from both JSON and TypeScript files */ import type { OatsConfig } from '../types/config.types.js'; /** * Load configuration from file (supports .json and .ts) */ export declare function loadConfigFromFile(configPath: string): Promise<OatsConfig>; /** * Find config file in current directory * Searches for oats.config.ts, oats.config.js, oats.config.json in that order */ export declare function findConfigFile(cwd?: string): string | null; //# sourceMappingURL=loader.d.ts.map