Skip to content

Commit

Permalink
Add valid and parse as named exports
Browse files Browse the repository at this point in the history
  • Loading branch information
frozzare committed Mar 14, 2024
1 parent 36a6c0e commit 5955d13
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,4 +374,7 @@ class Personnummer {
}
}

export const valid = Personnummer.valid;
export const parse = Personnummer.parse;

export default Personnummer;

0 comments on commit 5955d13

Please sign in to comment.