9 lines
153 B
TypeScript
9 lines
153 B
TypeScript
declare function sanitize(
|
|
input: string,
|
|
options?: {
|
|
replacement?: string | ((substring: string) => string);
|
|
}
|
|
): string;
|
|
|
|
export = sanitize;
|