Skip to content

Commit f31da84

Browse files
committed
Auto-generated commit
1 parent b1df116 commit f31da84

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
<details>
1414

15+
- [`abf0407`](https://github.com/stdlib-js/stdlib/commit/abf040787f6598438b0100a729a8331b7f80f62f) - **chore:** resolve lint errors in TS files _(by Philipp Burckhardt)_
1516
- [`975147f`](https://github.com/stdlib-js/stdlib/commit/975147f3125c786ec1672acb3d2564ca16eaa790) - **docs:** fix TSDoc lint errors _(by Philipp Burckhardt)_
1617
- [`20dea8a`](https://github.com/stdlib-js/stdlib/commit/20dea8af2b14181aa75354f7e3aeb65b955904b9) - **docs:** remove extraneous newline _(by Athan Reines)_
1718

docs/types/test.ts

+4-6
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,10 @@ import accessors = require( './index' );
2626
/**
2727
* Returns an array-like object supporting the get/set protocol.
2828
*
29-
* @return array-like object
29+
* @returns array-like object
3030
*/
3131
function accessorArray(): AccessorArrayLike<number> {
32-
let arr: AccessorArrayLike<number>;
33-
arr = {
32+
const arr: AccessorArrayLike<number> = {
3433
'0': 1,
3534
'1': 2,
3635
'2': 3,
@@ -49,11 +48,10 @@ function accessorArray(): AccessorArrayLike<number> {
4948
/**
5049
* Returns an array-like object.
5150
*
52-
* @return array-like object
51+
* @returns array-like object
5352
*/
5453
function arrayLike(): ArrayLike<number> {
55-
let arr: ArrayLike<number>;
56-
arr = {
54+
const arr: ArrayLike<number> = {
5755
'0': 1,
5856
'1': 2,
5957
'2': 3,

0 commit comments

Comments
 (0)