UNPKG

covid-certificate

Version:

Parse and verify a european digital covid certificate (dcc)

15 lines (14 loc) 412 B
export declare abstract class ValidatorResult { abstract isValid(): boolean; abstract getMessage(): string; } export declare class Valid extends ValidatorResult { isValid(): boolean; getMessage(): string; } export declare class ValidationError extends ValidatorResult { private readonly errorMessage; constructor(errorMessage: string); isValid(): boolean; getMessage(): string; }