UNPKG

json-to-sql-parser

Version:

A TypeScript library that converts JSON-based query specifications into safe SQL queries

9 lines 614 B
export declare function isNotNull<T>(value: T | null): value is T; export declare function isNonEmptyArray<T>(value: unknown): value is [T, ...T[]]; export declare function objectSize<T extends object>(obj: T): number; export declare function objectKeys<T extends object>(obj: T): (keyof T)[]; export declare function objectEntries<T extends Record<string, unknown>>(obj: T): [keyof T, T[keyof T]][]; export declare const quote: (str: string) => string; export declare const doubleQuote: (str: string) => string; export declare const getErrorMessage: (error: unknown) => string; //# sourceMappingURL=index.d.ts.map