uni-ticket-system/node_modules/@intlify/message-resolver/dist/message-resolver.d.ts

22 lines
522 B
TypeScript
Raw Normal View History

2023-12-05 02:11:10 +00:00
/**
* Transform flat json in obj to normal json in obj
*/
export declare function handleFlatJson(obj: unknown): unknown;
/**
* Parse a string path into an array of segments
*/
export declare function parse(path: Path): string[] | undefined;
/** @VueI18nGeneral */
export declare type Path = string;
export declare type PathValue = string | number | boolean | Function | null | {
[key: string]: PathValue;
} | PathValue[];
export declare function resolveValue(obj: unknown, path: Path): PathValue;
export { }