Renovate just updated several of my modules to typedoc 0.20.10 and they are all failing with:
Error: Tried to set an option (mode) that was not declared.
Reverting back to typedoc to 0.20.9 and the problem goes away.
This is expected, these options were removed in 0.20, but prior to 0.20.10 the errors that they should have caused were not caught.
This is mentioned in the release notes here: https://github.com/TypeStrong/typedoc/releases/tag/v0.20.0
Removed options - mode, excludeNotExported, includeDeclarations, ignoreCompilerErrors, entryPoint
If I'm not mistaken then every documentation is now automatically generated in the new library mode.
How do I not use mode when the only option I pass to typedoc is the src directory?
The fix in 0.20.10 was for options declared in the tsconfig.json file, check for a typedocOptions key there
Found it. Thanks!