npm.io
0.2.3 • Published 2 years ago

@types/pg-escape

Licence
MIT
Version
0.2.3
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.5K

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 0939 GMT
  • Dependencies: none

Credits

These definitions were written by Cameron Yan.