@tuzki/cli
Version:
🐇 lowcode-cli is an efficient cli tool for Rabbitpre plugin component secondary development. ❤️
18 lines (17 loc) • 404 B
TypeScript
interface Parse {
<T = any>(text: string, reviver?: ((this: any, key: string, value: any) => any) | null): T;
}
/**
* parse comment-json
* @param str jsonStr
* @returns
*/
declare const parse: Parse;
/**
* stringify comment-json
*
* @param {Record<string, any>} parsed
* @return {*} {string}
*/
declare const stringify: (parsed: Record<string, any>) => string;
export { parse, stringify };