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.
TypeScript Version: 2.7.0-dev.20171108
Code
At the bottom of src/compiler/utilities.ts replace the return type of hasJSDocNodes with:
src/compiler/utilities.ts
hasJSDocNodes
export function hasJSDocNodes(node: Node): node is HasJSDoc & { jsdoc: JSDoc[] } {
(Since hasJSDocNodes ensures that jsdoc will be defined.)
jsdoc
Expected behavior:
Eventually compiles.
Actual behavior:
Very long compile time. Probably has to do with HasJSDoc being a large union.
HasJSDoc