Skip to content

Commit

Permalink
fix(ts): remove duplicated error definition
Browse files Browse the repository at this point in the history
  • Loading branch information
RaschidJFR committed Aug 21, 2021
1 parent 7028bd7 commit ac8ad6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ export default function validateRfc<T extends string>(rfc: T, options?: { omitVe
isValid: boolean,
type?: 'company' | 'person' | 'foreign' | 'generic',
rfc?: T,
errors?: ('INVALID_FORMAT' | 'INVALID_DATE' | 'INVALID_VERIFICATION_DIGIT' | 'FORBIDDEN_WORD' | 'FORBIDDEN_WORD')[]
errors?: ('INVALID_FORMAT' | 'INVALID_DATE' | 'INVALID_VERIFICATION_DIGIT' | 'FORBIDDEN_WORD')[]
};

0 comments on commit ac8ad6a

Please sign in to comment.