UNPKG

408 BTypeScriptView Raw
1declare module slugify {
2 type ExtendArgs = {
3 [key: string]: any;
4 }
5
6 export function extend (args: ExtendArgs): void;
7}
8
9declare function slugify(
10 string: string,
11 options?:
12 | {
13 replacement?: string;
14 remove?: RegExp;
15 lower?: boolean;
16 strict?: boolean;
17 locale?: string;
18 trim?: boolean;
19 }
20 | string,
21
22): string;
23
24export default slugify;