I recently started to use typedoc for my new project. But when trying to config the tool via typedoc.js, I can't find good example of how this file should be defined. After some research in the source code, PRs and Issues. It looks like the typedoc.js doesn't support simple exported json object well (It won't understand most of the options listed in the README.md), though an exported function in the file will receive the tool instance. However, in the tsconfig.json, I can define all exposed config options in a typedocOptions property. It looks like the tsconfig.json can be used to replace typedoc.js, if calling the tool instance in an exported function is not that much important to most users.
I recently started to use typedoc for my new project. But when trying to config the tool via
typedoc.js, I can't find good example of how this file should be defined. After some research in the source code, PRs and Issues. It looks like thetypedoc.jsdoesn't support simple exported json object well (It won't understand most of the options listed in the README.md), though an exported function in the file will receive the tool instance. However, in thetsconfig.json, I can define all exposed config options in atypedocOptionsproperty. It looks like thetsconfig.jsoncan be used to replacetypedoc.js, if calling the tool instance in an exported function is not that much important to most users.