UNPKG

@primexop/pbk

Version:

Primexop Backend Kit - A powerful TypeScript utility for managing backend projects with features like B2F Portal integration, cross-project validation, and Next.js support

13 lines (12 loc) 478 B
/** * Recursively finds all .ts files in the provided directory. * @param dir The directory to search. * @returns An array of full paths to .ts files. */ export declare function getTsFiles(dir: string): string[]; /** * Updates import/export statements in the given file by removing a trailing `.js` extension. * Handles both static and dynamic import syntax. * @param filePath Full path to the .ts file. */ export declare function updateImports(filePath: string): void;