Installation
npm install --save @types/pg-escape
Summary
This package contains type definitions for pg-escape (https://github.com/segmentio/pg-escape).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pg-escape.
index.d.ts
export = escape;
declare function escape(fmt: string, ...args: any[]): string;
declare namespace escape {
function string(val: string): string;
function dollarQuotedString(val: string): string;
function ident(val: string): string;
function literal(val: string): string;
}
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by Cameron Yan.