xdbc 1.0.103 → 1.0.104
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/INSTANCE.ts +2 -2
package/package.json
CHANGED
package/src/DBC/INSTANCE.ts
CHANGED
|
@@ -120,8 +120,8 @@ export class INSTANCE extends DBC {
|
|
|
120
120
|
* @returns The **CANDIDATE** **toCheck** doesn't fulfill this {@link INSTANCE }.
|
|
121
121
|
*
|
|
122
122
|
* @throws A {@link DBC.Infringement } if the **CANDIDATE** **toCheck** does not fulfill this {@link DEFINED }. */
|
|
123
|
-
public tsCheck < CANDIDATE > ( toCheck : any ) : CANDIDATE {
|
|
124
|
-
const result = INSTANCE.checkAlgorithm(toCheck,
|
|
123
|
+
public static tsCheck < CANDIDATE > ( toCheck : any, reference : any ) : CANDIDATE {
|
|
124
|
+
const result = INSTANCE.checkAlgorithm(toCheck, reference);
|
|
125
125
|
|
|
126
126
|
if( result ) {
|
|
127
127
|
return toCheck ;
|