Skip to content

Commit

Permalink
Update isSlug type
Browse files Browse the repository at this point in the history
  • Loading branch information
GoudekettingRM committed Oct 10, 2023
1 parent bcdcb3f commit d3b7a25
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/brave-cycles-appear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"titleizejs": patch
---

Update isSlug type
2 changes: 1 addition & 1 deletion titleize.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ declare module 'titleizejs' {
keepUpperCaseLetters?: boolean;
keepUpperCaseWords?: boolean;
ignoreSymbols?: string;
isSlug?: boolean;
isSlug?: boolean | string;
}

export function titleize(input: string, exceptions?: IExceptions): string;
Expand Down

0 comments on commit d3b7a25

Please sign in to comment.