devsite/node_modules/slugify/slugify.d.ts

25 lines
408 B
TypeScript
Raw Normal View History

2024-07-08 01:49:38 +00:00
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;