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.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AssertionError [ERR_ASSERTION]: false == true at Object.convertType (file:///folder/node_modules/.pnpm/[email protected][email protected]/node_modules/typedoc/dist/lib/converter/types.js:128:9) at convertType (file:///folder/node_modules/.pnpm/[email protected][email protected]/node_modules/typedoc/dist/lib/converter/types.js:112:34) at Converter.convertType (file:///folder/node_modules/.pnpm/[email protected][email protected]/node_modules/typedoc/dist/lib/converter/converter.js:336:20) at Object.convertVariable (file:///folder/node_modules/.pnpm/[email protected][email protected]/node_modules/typedoc/dist/lib/converter/symbols.js:584:45) at _convertSymbolNow (file:///folder/node_modules/.pnpm/[email protected][email protected]/node_modules/typedoc/dist/lib/converter/symbols.js:113:41) at convertSymbol (file:///folder/node_modules/.pnpm/[email protected][email protected]/node_modules/typedoc/dist/lib/converter/symbols.js:126:5) at Converter.convertSymbol (file:///folder/node_modules/.pnpm/[email protected][email protected]/node_modules/typedoc/dist/lib/converter/converter.js:333:13) at Converter.convertExports (file:///folder/node_modules/.pnpm/[email protected][email protected]/node_modules/typedoc/dist/lib/converter/converter.js:444:22) at Converter.compile (file:///folder/node_modules/.pnpm/[email protected][email protected]/node_modules/typedoc/dist/lib/converter/converter.js:405:22) at Converter.convert (file:///folder/node_modules/.pnpm/[email protected][email protected]/node_modules/typedoc/dist/lib/converter/converter.js:310:18) { generatedMessage: true, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==' }
It should be able to process module.exports = []; as it is valid JavaScript/TypeScript.
module.exports = [];
It throws the above error.
Run typedoc on the following code:
module.exports = []
The text was updated successfully, but these errors were encountered:
34ce994
I really wish people wouldn't do this type of thing with CommonJS... that ESM prevents it is my favorite thing about that module system.
Sorry, something went wrong.
I agree, we have a lot of legacy code like this. Thanks for the quick fix!
No branches or pull requests
Search terms
AssertionError [ERR_ASSERTION]: false == true
at Object.convertType (file:///folder/node_modules/.pnpm/[email protected][email protected]/node_modules/typedoc/dist/lib/converter/types.js:128:9)
at convertType (file:///folder/node_modules/.pnpm/[email protected][email protected]/node_modules/typedoc/dist/lib/converter/types.js:112:34)
at Converter.convertType (file:///folder/node_modules/.pnpm/[email protected][email protected]/node_modules/typedoc/dist/lib/converter/converter.js:336:20)
at Object.convertVariable (file:///folder/node_modules/.pnpm/[email protected][email protected]/node_modules/typedoc/dist/lib/converter/symbols.js:584:45)
at _convertSymbolNow (file:///folder/node_modules/.pnpm/[email protected][email protected]/node_modules/typedoc/dist/lib/converter/symbols.js:113:41)
at convertSymbol (file:///folder/node_modules/.pnpm/[email protected][email protected]/node_modules/typedoc/dist/lib/converter/symbols.js:126:5)
at Converter.convertSymbol (file:///folder/node_modules/.pnpm/[email protected][email protected]/node_modules/typedoc/dist/lib/converter/converter.js:333:13)
at Converter.convertExports (file:///folder/node_modules/.pnpm/[email protected][email protected]/node_modules/typedoc/dist/lib/converter/converter.js:444:22)
at Converter.compile (file:///folder/node_modules/.pnpm/[email protected][email protected]/node_modules/typedoc/dist/lib/converter/converter.js:405:22)
at Converter.convert (file:///folder/node_modules/.pnpm/[email protected][email protected]/node_modules/typedoc/dist/lib/converter/converter.js:310:18) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
Expected Behavior
It should be able to process
module.exports = [];
as it is valid JavaScript/TypeScript.Actual Behavior
It throws the above error.
Steps to reproduce the bug
Run typedoc on the following code:
module.exports = []
Environment
The text was updated successfully, but these errors were encountered: