xdbc 1.0.114 → 1.0.115

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.
@@ -83,7 +83,7 @@ export class DEFINED extends DBC {
83
83
  * @returns The **CANDIDATE** **toCheck** doesn't fulfill this {@link DEFINED }.
84
84
  *
85
85
  * @throws A {@link DBC.Infringement } if the **CANDIDATE** **toCheck** does not fulfill this {@link DEFINED }.*/
86
- static tsCheck(toCheck, id) {
86
+ static tsCheck(toCheck, id = undefined) {
87
87
  const result = DEFINED.checkAlgorithm(toCheck);
88
88
  if (result === true) {
89
89
  return toCheck;
@@ -91,7 +91,7 @@ export class INSTANCE extends DBC {
91
91
  * @returns The **CANDIDATE** **toCheck** doesn't fulfill this {@link INSTANCE }.
92
92
  *
93
93
  * @throws A {@link DBC.Infringement } if the **CANDIDATE** **toCheck** does not fulfill this {@link DEFINED }. */
94
- static tsCheck(toCheck, reference, id) {
94
+ static tsCheck(toCheck, reference, id = undefined) {
95
95
  const result = INSTANCE.checkAlgorithm(toCheck, reference);
96
96
  if (result === true) {
97
97
  return toCheck;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.114",
2
+ "version": "1.0.115",
3
3
  "name": "xdbc",
4
4
  "scripts": {
5
5
  "docs": "typedoc",
@@ -116,7 +116,7 @@ export class DEFINED extends DBC {
116
116
  * @returns The **CANDIDATE** **toCheck** doesn't fulfill this {@link DEFINED }.
117
117
  *
118
118
  * @throws A {@link DBC.Infringement } if the **CANDIDATE** **toCheck** does not fulfill this {@link DEFINED }.*/
119
- public static tsCheck<CANDIDATE>( toCheck : CANDIDATE | undefined | null, id : string | undefined ) : CANDIDATE {
119
+ public static tsCheck<CANDIDATE>( toCheck : CANDIDATE | undefined | null, id : string | undefined = undefined ) : CANDIDATE {
120
120
  const result = DEFINED.checkAlgorithm(toCheck );
121
121
 
122
122
  if( result === true ) {
@@ -122,7 +122,7 @@ export class INSTANCE extends DBC {
122
122
  * @returns The **CANDIDATE** **toCheck** doesn't fulfill this {@link INSTANCE }.
123
123
  *
124
124
  * @throws A {@link DBC.Infringement } if the **CANDIDATE** **toCheck** does not fulfill this {@link DEFINED }. */
125
- public static tsCheck < CANDIDATE > ( toCheck : any, reference : any, id : string | undefined ) : CANDIDATE {
125
+ public static tsCheck < CANDIDATE > ( toCheck : any, reference : any, id : string | undefined = undefined ) : CANDIDATE {
126
126
  const result = INSTANCE.checkAlgorithm(toCheck, reference);
127
127
 
128
128
  if( result === true ) {