Skip to content

Commit 076a076

Browse files
committed
chore: Update .gitignore to include /types/ directory
1 parent 1183b6b commit 076a076

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ BackupCopia/
44
todo.txt
55
teste.html
66
dist
7-
types
7+
/types/

src/types/index.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
export type ValidateFunctions =
2+
| {
3+
isValid: true;
4+
errorMsg: null;
5+
}
6+
| {
7+
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

Comments
 (0)