devsite/node_modules/slugify/slugify.d.ts
2024-07-07 18:49:38 -07:00

25 lines
408 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;
trim?: boolean;
}
| string,
): string;
export default slugify;