Skip to content

Commit fdad800

Browse files
committed
docs(bench): fix doctest annotations for Benchmark properties
1 parent 0195fea commit fdad800

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • lib/node_modules/@stdlib/bench/harness/docs/types

lib/node_modules/@stdlib/bench/harness/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ interface Benchmark {
111111
*
112112
* @example
113113
* var str = b.name;
114-
* // throws <ReferenceError>
114+
* // returns <string>
115115
*/
116116
readonly name: string;
117117

@@ -120,7 +120,7 @@ interface Benchmark {
120120
*
121121
* @example
122122
* var iter = b.iterations;
123-
* // throws <ReferenceError>
123+
* // returns <number>
124124
*/
125125
readonly iterations: number;
126126

0 commit comments

Comments
 (0)