@@ -65,11 +65,11 @@ const getDefaultValue = <T>(assertion: Assertion<T>): Assertion<T> => {
65
65
*
66
66
* - `eql`: This flag contains the deepEqual function to be used by the assertion.
67
67
*
68
- * @param {Mixed } obj target of the assertion
69
- * @param {String } msg (optional) custom error message
68
+ * @param {unknown } obj target of the assertion
69
+ * @param {string } msg (optional) custom error message
70
70
* @param {Function } ssfi (optional) starting point for removing stack frames
71
- * @param {Boolean } lockSsfi (optional) whether or not the ssfi flag is locked
72
- * @api private
71
+ * @param {boolean } lockSsfi (optional) whether or not the ssfi flag is locked
72
+ * @private
73
73
*/
74
74
export class Assertion < T , TFlags extends AssertionFlags < T > = AssertionFlags < T > > {
75
75
declare public __flags : TFlags ;
@@ -174,13 +174,13 @@ export class Assertion<T, TFlags extends AssertionFlags<T> = AssertionFlags<T>>
174
174
* Executes an expression and check expectations. Throws AssertionError for reporting if test doesn't pass.
175
175
*
176
176
* @name assert
177
- * @param {Philosophical } expression to be tested
178
- * @param {String| Function } message or function that returns message to display if expression fails
179
- * @param {String| Function } negatedMessage or function that returns negatedMessage to display if negated expression fails
180
- * @param {Mixed } expected value (remember to check for negation)
181
- * @param {Mixed } actual (optional) will default to `this.obj`
182
- * @param {Boolean } showDiff (optional) when set to `true`, assert will display a diff in addition to the message if expression fails
183
- * @api private
177
+ * @param {unknown } _expr to be tested
178
+ * @param {string | Function } msg or function that returns message to display if expression fails
179
+ * @param {string | Function } _negateMsg or function that returns negatedMessage to display if negated expression fails
180
+ * @param {unknown } expected value (remember to check for negation)
181
+ * @param {unknown } _actual (optional) will default to `this.obj`
182
+ * @param {boolean } showDiff (optional) when set to `true`, assert will display a diff in addition to the message if expression fails
183
+ * @private
184
184
*/
185
185
public assert (
186
186
_expr : unknown ,
@@ -222,7 +222,7 @@ export class Assertion<T, TFlags extends AssertionFlags<T> = AssertionFlags<T>>
222
222
*
223
223
* Quick reference to stored `actual` value for plugin developers.
224
224
*
225
- * @api private
225
+ * @private
226
226
*/
227
227
public get _obj ( ) : unknown {
228
228
return util . flag ( this , 'object' ) ;
0 commit comments