mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
16 lines
482 B
TypeScript
16 lines
482 B
TypeScript
// Type definitions for filenamify 2.0
|
|
// Project: https://github.com/sindresorhus/filenamify
|
|
// Definitions by: Junyoung Choi <https://github.com/rokt33r>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
declare function filenamify(input: string, options?: filenamify.Options): string;
|
|
|
|
declare namespace filenamify {
|
|
interface Options {
|
|
replacement: string;
|
|
}
|
|
function path(input: string, options?: Options): string;
|
|
}
|
|
|
|
export = filenamify;
|