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

0.1.3 • Public • Published

Installation

npm install --save @types/pg-template-tag

Summary

This package contains type definitions for pg-template-tag (https://github.com/xecycle/pg-template-tag).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pg-template-tag.

index.d.ts

export interface SqlLiteral {
    text: string;
    values: unknown[];
}

export default function SQLTag(parts: TemplateStringsArray, ...values: readonly unknown[]): SqlLiteral;

export function sqlLiteral(value: string): SqlLiteral;

export function join(array: readonly unknown[], separator?: string): SqlLiteral;

Additional Details

  • Last updated: Mon, 20 Nov 2023 23:36:24 GMT
  • Dependencies: none

Credits

These definitions were written by Johan Levin.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/pg-template-tag

Weekly Downloads

56

Version

0.1.3

License

MIT

Unpacked Size

3.21 kB

Total Files

5

Last publish

Collaborators

  • types