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 fcc6e98 commit b62073dCopy full SHA for b62073d
.gitignore
@@ -1,3 +1,4 @@
1
+#
2
# Logs
3
logs
4
*.log
@@ -59,4 +60,5 @@ dist
59
60
.cache
61
62
.DS_Store
63
+docs
64
lib/index.ts
@@ -62,7 +62,7 @@ type InvalidPostcode = {
unit: null;
};
65
-const invalidPostcode: InvalidPostcode = Object.freeze({
+const invalidPostcode: InvalidPostcode = {
66
valid: false,
67
postcode: null,
68
incode: null,
@@ -72,7 +72,7 @@ const invalidPostcode: InvalidPostcode = Object.freeze({
72
subDistrict: null,
73
sector: null,
74
unit: null
75
-});
+};
76
77
/**
78
* Return first elem of input is RegExpMatchArray or null if input null
0 commit comments