Skip to content

Commit 22406ce

Browse files
neoscieCopilot
andauthored
Update src/lib/string.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 4fda01e commit 22406ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/string.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export function truncate(value: string | undefined, maxLength: number, suffix =
7070
* Validation according to https://www.sozialversicherungsnummer.ch/aufbau-neu.htm
7171
* @param socialInsuranceNumber The social insurance number to check
7272
* Must be in one of the following formats:
73-
* - "756.XXXX.XXXX.XX" with dots as seperators
73+
* - "756.XXXX.XXXX.XX" with dots as separators
7474
* - "756XXXXXXXXXX" with digits only
7575
* @returns The result if the social insurance number is valid or not
7676
*/

0 commit comments

Comments
 (0)