Skip to content

Warnings when building doc #1524

@evanirla

Description

@evanirla

Search terms

Failed to convert type node with kind

Expected Behavior

I expected the documentation to be generated with no errors.

Actual Behavior

Warning: Failed to convert type node with kind: JSDocNullableType and text Element?. Please report a bug.

Steps to reproduce the bug

Create a *.d.ts file with the following function definition and attempt to generate documentation against it.

export function overlay(action:string, options:object?, element:Element?): any;

typedoc.json

{
    "disableSources": true,
    "exclude":
    [
        ...
    ],
    "excludePrivate": true,
    "excludeProtected": true,
    "includeVersion":  true,
    "entryPoints": ["./src"],
    "name": "...",
    "out": "docs",
    "readme":  "readme.txt"
}

Environment

  • Typedoc version: 0.20.28
  • TypeScript version: 4.1.5
  • Node.js version: 14.16.0
  • NPM version: 6.14.0
  • OS: Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions