@types/pg-escape
TypeScript icon, indicating that this package has built-in type declarations

0.2.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/pg-escape

Weekly Downloads

19,540

Version

0.2.3

License

MIT

Unpacked Size

3.1 kB

Total Files

5

Last publish

Collaborators

  • types