work.suroh.tk/node_modules/slugify/slugify.d.ts

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;