mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
17 lines
441 B
TypeScript
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;
|
|
}
|