Skip to content

Commit a6033e1

Browse files
doc(readme): use Type Application non-deprecated syntax
> Deprecated syntax: adding a dot before the `<` Refs: https://github.com/google/closure-compiler/wiki/Types-in-the-Closure-Type-System#user-content-javascript-types Signed-off-by: Derek Lewis <[email protected]>
1 parent 261e35c commit a6033e1

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ Thrown in case an argument of the wrong type was passed for a given argument.
255255
| Param | Type | Description |
256256
| --- | --- | --- |
257257
| argName | <code>string</code> | The name of the argument of invalid type. |
258-
| expected | <code>Array.&lt;string&gt;</code> \| <code>string</code> | The argument type(s) expected. |
258+
| expected | <code>Array&lt;string&gt;</code> \| <code>string</code> | The argument type(s) expected. |
259259
| value | <code>unknown</code> | The actual argument value of invalid type. |
260260

261261
<a name="InvalidPropertyValueError"></a>
@@ -289,7 +289,8 @@ Thrown in case an invalid or unsupported value type for an object property.
289289
| --- | --- | --- |
290290
| objName | <code>string</code> | The name of the object in question. |
291291
| propName | <code>string</code> | The property name assigned value of invalid type. |
292-
| expected | <code>Array.&lt;string&gt;</code> \| <code>string</code> | The property type(s) expected. |
292+
| expected | <code>Array
293+
string&gt;</code> \| <code>string</code> | The property type(s) expected. |
293294
| value | <code>unknown</code> | The actual property value of invalid type assigned. |
294295

295296
<a name="InvalidReturnPropertyValueError"></a>
@@ -327,7 +328,7 @@ one of its returned object properties on execution.
327328
| --- | --- | --- |
328329
| funcName | <code>string</code> | The name of the function returning the invalidity. |
329330
| propName | <code>string</code> | The property name assigned value of invalid type. |
330-
| expected | <code>Array.&lt;string&gt;</code> \| <code>string</code> | The property type(s) expected. |
331+
| expected | <code>Array&lt;string&gt;</code> \| <code>string</code> | The property type(s) expected. |
331332
| value | <code>unknown</code> | The actual property value of invalid type assigned. |
332333

333334
<a name="InvalidReturnValueError"></a>
@@ -363,7 +364,7 @@ execution, such as when a function is expected to return a promise.
363364
| Param | Type | Description |
364365
| --- | --- | --- |
365366
| funcName | <code>string</code> | The name of the function returning the invalidity. |
366-
| expected | <code>Array.&lt;string&gt;</code> \| <code>string</code> | The return type(s) expected. |
367+
| expected | <code>Array&lt;string&gt;</code> \| <code>string</code> | The return type(s) expected. |
367368
| value | <code>unknown</code> | The actual value of invalid type returned. |
368369

369370
<a name="InvalidArgsNumberError"></a>
@@ -416,7 +417,7 @@ Node.js APIs, `func(undefined)` and `func()` are treated identically, and the
416417

417418
| Param | Type | Description |
418419
| --- | --- | --- |
419-
| ...args | <code>Array.&lt;string&gt;</code> | The names of the missing arguments. |
420+
| ...args | <code>Array&lt;string&gt;</code> | The names of the missing arguments. |
420421

421422
<a name="UnhandledErrorError"></a>
422423

0 commit comments

Comments
 (0)