mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-02-02 06:32:14 +00:00
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;
|