Files

16 lines
431 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/DefinitelyTyped/DefinitelyTyped
declare function sanitize(filename: string, options?: sanitize.Options): string;
declare namespace sanitize {
interface Options {
replacement: string;
}
}
export = sanitize;