Skip to content

Using the Type Checker example gives type errors with typescript 3.6.4 #234

@paibamboo

Description

@paibamboo

This example gives type errors.

docGenerator.ts:65:53 - error TS2554: Expected 1 arguments, but got 0.
documentation: ts.displayPartsToString(symbol.getDocumentationComment()),
docGenerator.ts:99:36 - error TS2345: Argument of type 'Node' is not assignable to parameter of type 'Declaration'.
Property '_declarationBrand' is missing in type 'Node' but required in type 'Declaration'.
(ts.getCombinedModifierFlags(node) & ts.ModifierFlags.Export) !== 0 ||

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions