@stacksjs/dtsx
Version:
A modern, fast .d.ts generation tool, powered by Bun.
5 lines • 371 B
TypeScript
import type { DtsGenerationConfig } from './types';
export declare function writeToFile(filePath: string, content: string): Promise<void>;
export declare function getAllTypeScriptFiles(directory?: string): Promise<string[]>;
// only checks for 2 potentially nested levels
export declare function checkIsolatedDeclarations(options?: DtsGenerationConfig): Promise<boolean>;