xdbc 1.0.88 → 1.0.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/DBC/OR.ts +2 -2
package/package.json
CHANGED
package/src/DBC/OR.ts
CHANGED
|
@@ -28,7 +28,7 @@ export class OR extends DBC {
|
|
|
28
28
|
conditions: Array<{
|
|
29
29
|
check: (toCheck: unknown | undefined | null) => boolean | string;
|
|
30
30
|
}>,
|
|
31
|
-
value:
|
|
31
|
+
value: unknown | null | undefined,
|
|
32
32
|
): boolean | string {
|
|
33
33
|
let result = "";
|
|
34
34
|
|
|
@@ -127,7 +127,7 @@ export class OR extends DBC {
|
|
|
127
127
|
* @param toCheck See {@link OR.checkAlgorithm }.
|
|
128
128
|
*
|
|
129
129
|
* @returns See {@link OR.checkAlgorithm}. */
|
|
130
|
-
public check(toCheck:
|
|
130
|
+
public check(toCheck: unknown | null | undefined) {
|
|
131
131
|
return OR.checkAlgorithm(this.conditions, toCheck);
|
|
132
132
|
}
|
|
133
133
|
/**
|