We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c1fb98 commit 50dd86eCopy full SHA for 50dd86e
benchmark/common.js
@@ -140,7 +140,7 @@ class Benchmark {
140
const values = options[key];
141
142
for (const value of values) {
143
- if (typeof value !== 'number' && typeof value !== 'string') {
+ if (typeof value !== 'number' && typeof value !== 'string' && typeof value !== 'boolean') {
144
throw new TypeError(
145
`configuration "${key}" had type ${typeof value}`);
146
}
0 commit comments