We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c36df0c commit b810c5eCopy full SHA for b810c5e
src/pesel/index.ts
@@ -23,7 +23,7 @@ export function isValidPesel(pesel: string): boolean {
23
return (modulo === 0 && checkDigit === 0) || 10 - modulo === checkDigit;
24
}
25
26
-const MODULO_REMAINDER_TO_CENTURY = {
+const MODULO_REMAINDER_TO_CENTURY: Record<number, number> = {
27
0: 1900,
28
20: 2000,
29
40: 2100,
tsconfig.json
@@ -0,0 +1,10 @@
1
+{
2
+ "compilerOptions": {
3
+ "target": "ESNext",
4
+ "module": "ESNext",
5
+ "esModuleInterop": true,
6
+ "forceConsistentCasingInFileNames": true,
7
+ "strict": true,
8
+ "skipLibCheck": true
9
+ }
10
+}
0 commit comments