We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1183b6b commit 076a076Copy full SHA for 076a076
.gitignore
@@ -4,4 +4,4 @@ BackupCopia/
4
todo.txt
5
teste.html
6
dist
7
-types
+/types/
src/types/index.ts
@@ -0,0 +1,16 @@
1
+export type ValidateFunctions =
2
+ | {
3
+ isValid: true;
+ errorMsg: null;
+ }
+ isValid: false;
8
+ errorMsg: string;
9
+ };
10
+
11
+export interface ValidatePassportNumber {
12
+ isValid: boolean;
13
+ country: string | null;
14
+}
15
16
+export type IsValidFunctions = boolean;
0 commit comments