22 lines
333 B
TypeScript
22 lines
333 B
TypeScript
|
declare module slugify {
|
||
|
type ExtendArgs = {
|
||
|
[key: string]: any;
|
||
|
}
|
||
|
|
||
|
export function extend (args: ExtendArgs): void;
|
||
|
}
|
||
|
|
||
|
declare function slugify(
|
||
|
string: string,
|
||
|
options?:
|
||
|
| {
|
||
|
replacement?: string;
|
||
|
remove?: RegExp;
|
||
|
lower?: boolean;
|
||
|
}
|
||
|
| string,
|
||
|
|
||
|
): string;
|
||
|
|
||
|
export default slugify;
|