Enabling shorter import paths [automatic]

This commit is contained in:
ts_ci
2021-03-01 20:01:09 +00:00
parent d35eac9661
commit a934ccb920
87 changed files with 20316 additions and 223 deletions

13
bin/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;