24 lines
384 B
TypeScript
24 lines
384 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;
|
|
strict?: boolean;
|
|
locale?: string;
|
|
}
|
|
| string,
|
|
|
|
): string;
|
|
|
|
export default slugify;
|