Skip to content

Commit

Permalink
Fix typo in docs (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
tniessen committed Apr 30, 2021
1 parent b4ea95e commit 1a3336c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -163,7 +163,7 @@ export interface CountableSlugify {
reset: () => void;

/**
Returns a new instance of `slugify(string, options?)` with a counter to handle multiple occurences of the same string.
Returns a new instance of `slugify(string, options?)` with a counter to handle multiple occurrences of the same string.
@param string - String to slugify.
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Expand Up @@ -169,7 +169,7 @@ slugify('_foo_bar', {preserveLeadingUnderscore: true});

### slugifyWithCounter()

Returns a new instance of `slugify(string, options?)` with a counter to handle multiple occurences of the same string.
Returns a new instance of `slugify(string, options?)` with a counter to handle multiple occurrences of the same string.

#### Example

Expand Down

0 comments on commit 1a3336c

Please sign in to comment.