mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-26 06:05:54 +08:00
Add typings for sqlstring
This commit is contained in:
9
types/sqlstring/index.d.ts
vendored
Normal file
9
types/sqlstring/index.d.ts
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
// Type definitions for sqlstring 2.2
|
||||
// Project: https://github.com/mysqljs/sqlstring
|
||||
// Definitions by: Marvin Hagemeister <https://github.com/marvinhagemeister>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
export function format(sql: string, args: object | any[]): string;
|
||||
export function escape(value: any): string;
|
||||
export function escapeId(value: any, dotQualifier?: boolean): string;
|
||||
Reference in New Issue
Block a user