在编译打字稿代码时如何避免这种相对路径解析。
定义文件:
export declare type VariableType = "array" | "object" | "boolean" |
"number" | "string" | "gender" | "string-boolean" | "string-date" |
"objectId" | "email" | "password";
export declare let wrong: (parent: any, child: string, type:import("../../../../../../../58BC060CBC05E57A/Users/Umber/my_node_modules/custom-validation/definitions/blocks").VariableType) => boolean;
export declare let absentWrong: (parent: any, child: string, type: import("../../../../../../../58BC060CBC05E57A/Users/Umber/my_node_modules/custom-validation/definitions/blocks").VariableType) => boolean;
export declare let optionalWrong: (parent: any, child: string, type: import("../../../../../../../58BC060CBC05E57A/Users/Umber/my_node_modules/custom-validation/definitions/blocks").VariableType) => boolean;