Add .d.ts files
This commit is contained in:
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
declare function _exports({ request }: {
|
||||
request: http.IncomingMessage;
|
||||
}): any | null;
|
||||
export = _exports;
|
||||
import http = require("http");
|
||||
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
export = sanitizeSql;
|
||||
/**
|
||||
* Sanitize SQL function
|
||||
* ==============================================================================
|
||||
* @description this function takes in a text(or number) or object or array or
|
||||
* boolean and returns a sanitized version of the same input.
|
||||
*
|
||||
* @param {string|number|object|boolean} input - Text or number or object or boolean
|
||||
* @param {boolean?} spaces - Allow spaces?
|
||||
*
|
||||
* @returns {string|number|object|boolean}
|
||||
*/
|
||||
declare function sanitizeSql(input: string | number | object | boolean, spaces: boolean | null): string | number | object | boolean;
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
export = serializeQuery;
|
||||
declare function serializeQuery(param0: import("../../package-shared/types").SerializeQueryParams): string;
|
||||
Reference in New Issue
Block a user