@shuyun-ep-team/scripts
Version:
为项目提供相应的脚本,使其减少繁琐的配置。
11 lines (10 loc) • 382 B
TypeScript
export declare function jsonCommentParser(data: string, plugin?: {
prop?: (key: string) => string;
comment?: (comment: string) => string;
}): {
prop: string | number | symbol;
val: any;
comment: string | number | boolean;
}[];
export declare function propModifyVarsPlugin(prop: string): string;
export declare function propCamelcasePlugin(prop: string): string;