slugify.d.ts 384 B

1234567891011121314151617181920212223
  1. declare module slugify {
  2. type ExtendArgs = {
  3. [key: string]: any;
  4. }
  5. export function extend (args: ExtendArgs): void;
  6. }
  7. declare function slugify(
  8. string: string,
  9. options?:
  10. | {
  11. replacement?: string;
  12. remove?: RegExp;
  13. lower?: boolean;
  14. strict?: boolean;
  15. locale?: string;
  16. }
  17. | string,
  18. ): string;
  19. export default slugify;