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.