mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 16:27:06 +00:00
16 lines
431 B
TypeScript
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;
|