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 33e2624 commit ecfd1d1Copy full SHA for ecfd1d1
tests/type-definitions/coverage.mjs
@@ -16,5 +16,5 @@ for (const moduleName of Modules) {
16
}
17
18
if (hasErrors) {
19
- throw Error('Some modules have no types');
+ throw new Error('Some modules have no types');
20
0 commit comments