Skip to content

Commit b5e3101

Browse files
committed
chore: fix JavaScript lint errors (issue #7440)
This PR fixes the JavaScript linting error related to redeclaration of `TransformStream` in `lib/node_modules/@stdlib/bench/harness/lib/main.js`. The local variable `TransformStream` was renamed to `StdlibTransformStream` to avoid redeclaration lint failures. JSDoc comments were left unchanged to keep accurate type information. Related Issues: resolves #7440
1 parent 5b6d07a commit b5e3101

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/bench/harness/lib

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/bench/harness/lib/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
// MODULES //
2222

23-
var TransformStream = require( '@stdlib/streams/node/transform' );
23+
var StdlibTransformStream = require( '@stdlib/streams/node/transform' );
2424
var setReadOnly = require( '@stdlib/utils/define-nonenumerable-read-only-property' );
2525
var isFunction = require( '@stdlib/assert/is-function' );
2626
var format = require( '@stdlib/string/format' );
@@ -76,7 +76,7 @@ function createStream( options ) {
7676
bench = harness();
7777
return bench.createStream( opts );
7878
}
79-
stream = new TransformStream( opts );
79+
stream = new StdlibTransformStream( opts );
8080
opts.stream = stream;
8181

8282
// Create a harness which uses the created output stream:

0 commit comments

Comments
 (0)