Getting error main.js:5 Uncaught TypeError: typedoc.Application is not a constructor
See original GitHub issueI created a very simple test.d.ts file with the following content:
declare module MyModule {
export interface SomeItem {
type: string;
timestamp: number;
status: Date;
}
}
Added a package.json file that specified devDependencies of only typedoc: 0.5.0
Ran the following command:
node_modules\.bin\typedoc --out OUTPUT test.d.ts --experimentalDecorators --target es5 --includeDeclarations --mode file --name 'Random'
It generated some html documentation and I was able to browse the content but I could not perform searches. I see the following error in the chrome console: main.js:5 Uncaught TypeError: typedoc.Application is not a constructor at typedoc (… main.js:5:4156)
Issue Analytics
- State:
- Created 7 years ago
- Reactions:9
- Comments:6 (1 by maintainers)
Top Results From Across the Web
TypeScript: TypeError: App is not a constructor - Stack Overflow
I don't understand why this is throwing such error though I have constructor available in App.ts file. Am I doing something wrong in...
Read more >Application | TypeDoc - v0.23.23
This class holds the two main components of TypeDoc, the Converter and the Renderer. When running TypeDoc, first the Converter is invoked which...
Read more >Installation - TypeDoc
Installing TypeDoc is available as a node package. Using npm ensures that all relevant dependencies are setup correctly. You can choose to either...
Read more >Options - TypeDoc
json file that options should be read from. If not specified TypeDoc will look for tsconfig.json in the current directory and parent directories...
Read more >Changelog | TypeDoc
Added Converter.addUnknownSymbolResolver for use by plugins supporting external links. Bug Fixes. Fixed conversion of object literal types containing construct ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Still not fixed?
It seems to be typedoc-default-themes@0.4.1’s probrem because it has been fixed by