Skip to content

Commit 1c331b8

Browse files
committed
🏷️ fix 'exceptions' type in normalizeName's JSDoc
1 parent 4f49b48 commit 1c331b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/normalizeName.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const capitalizeWordExcept = (exceptions: string[]) => (word: string) =>
2727
* normalizeName(' wilson da costa', ['da']);
2828
* //=> "Wilson da Costa"
2929
* @param {string} name - A `string` value.
30-
* @param {string} [exceptions] - A list of exceptions in lower-case.
30+
* @param {string[]} [exceptions] - A list of exceptions in lower-case.
3131
* @returns {string}
3232
*/
3333
const normalizeName = (name: string, exceptions: string[] = []) =>

0 commit comments

Comments
 (0)