UNPKG

eslint-plugin-logical-properties

Version:
27 lines 1.36 kB
export declare const pathToSegments: (path: string) => string[]; export declare const segmentsToPath: (segments: string[]) => string; export declare const isWildcard: (input: string) => input is "*"; export declare const segmentsIsEmpty: (input: string[]) => boolean; export declare const packer: { unpack: (input: string) => any; pack: (input: any) => string; }; export declare const generateObjectStringFromPath: (input: string | string[], insert: string) => string; export declare const generateObjectStringsFromPaths: (input: string[] | readonly string[], insert: string) => string[]; export type ObjectStringTestCaseDeclaration = { testName: string; functionName: string; }; export declare const generateObjectStringTestCaseDeclaration: ({ testName, functionName }: ObjectStringTestCaseDeclaration, objectString: string) => string; export type ObjectStringTestCaseOptions = (ObjectStringTestCaseDeclaration & { resolvers: string[] | readonly string[]; }); export type ObjectStringTestCase = { input: Record<any, any> | string; output?: Record<any, any> | string; }; export declare const generateObjectStringTestCases: ({ resolvers, ...declarationOptions }: ObjectStringTestCaseOptions, { input, output, }: ObjectStringTestCase) => { code: string; output?: string; }[]; //# sourceMappingURL=propertyTraverse.utils.d.ts.map