Files
DefinitelyTyped/sanitize-filename/sanitize-filename.d.ts
T

17 lines
441 B
TypeScript

// Type definitions for sanitize-filename v1.1.1
// Project: https://github.com/parshap/node-sanitize-filename
// Definitions by: Wim Looman <https://github.com/Nemo157>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module "sanitize-filename" {
function sanitize(filename: string, options?: sanitize.Options): string;
module sanitize {
interface Options {
replacement: string;
}
}
export = sanitize;
}