Enabling shorter import paths [automatic]

This commit is contained in:
ts_ci
2021-03-05 00:39:03 +00:00
parent 5a7fb7c303
commit 0b6048195a
113 changed files with 21347 additions and 223 deletions

15
bin/tools/transformCodebase.d.ts vendored Normal file
View File

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