-
Notifications
You must be signed in to change notification settings - Fork 704
New issue
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
Error trying to generate documentation #820
Comments
same issue |
same |
Seems the default behavior of ignoring these files is broken (seems it is meant to be opt in given |
+1 |
1 similar comment
+1 |
Is this still an issue for people? How did you work around it? AFAIK this bug breaks this library completely (100% unusable). Am I missing something? I haven't found a workaround / solution after googling around. |
By default typedoc includes declarations so any declaration files need to be compiled correctly. Could someone provide a repo which demonstrates this bug? |
+1 for me still, sinon - try running on https://github.com/daniellacosse/process-automation-scripts tried commenting out the file that imported |
Thanks for the repro to look at. I haven't cloned to check it out, but I did notice that you are using |
oh shooot sorry thanks |
Closing this since as far as I can tell the error was caused by a TypeScript version incompatibility. As TypeDoc (master at least) is now on 3.4, this should not longer be an issue. In July 2018 TypeDoc was on TypeScript version 2.7.2. The Sinon types at that time required conditional types, which were introduced in 2.8 git blame |
This issue still exists in 2021, no document generation with TypeDoc if there is sinon . |
Please open a new issue rather than responding to one that's been closed for 2+ years. |
`$ typedoc --out ./docs ./src
Using TypeScript 2.7.2 from /home/user/.nvm/versions/node/v9.8.0/lib/node_modules/typedoc/node_modules/typescript/lib
Error: /home/user/git/frontend/node_modules/@types/sinon/index.d.ts(488)
';' expected.
`
The text was updated successfully, but these errors were encountered: