9 lines
343 B
TypeScript
9 lines
343 B
TypeScript
/**
|
|
* Sanitize SQL function
|
|
* ==============================================================================
|
|
* @description this function takes in a text(or number) and returns a sanitized
|
|
* text, usually without spaces
|
|
*/
|
|
declare function sanitizeSql(text: any, spaces?: boolean, regex?: RegExp | null): any;
|
|
export default sanitizeSql;
|