Skip to content

Commit

Permalink
Merge pull request #92 from aecant/master
Browse files Browse the repository at this point in the history
Add types declarations for static functions
  • Loading branch information
lucavandro authored Apr 5, 2024
2 parents a785c6b + 41acf17 commit 33c31ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions types/codice-fiscale.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ declare class CodiceFiscale {
static compute(obj: object): string;
static check(codiceFiscale: string): boolean;
static getOmocodie(cf: string): string[];
static nameCode(name: string): string;
static surnameCode(surname: string): string;
static dateCode(day: number, month: number, year: number, gender: Gender): string;
toString(): string;
toJSON(): ICodiceFiscaleObject;
isValid(): boolean;
Expand Down

0 comments on commit 33c31ca

Please sign in to comment.