Enabling shorter import paths [automatic]

This commit is contained in:
ts_ci
2021-02-21 23:39:07 +00:00
parent d941ab9763
commit f6b6c9e7d0
50 changed files with 2725 additions and 196 deletions

13
tools/transformCodebase.d.ts vendored Normal file
View File

@ -0,0 +1,13 @@
/// <reference types="node" />
/** Apply a transformation function to every file of directory */
export declare function transformCodebase(params: {
srcDirPath: string;
destDirPath: string;
transformSourceCodeString: (params: {
sourceCode: Buffer;
filePath: string;
}) => {
modifiedSourceCode: Buffer;
newFileName?: string;
} | undefined;
}): void;