Skip to content

Incomplete declaration emit of callback tag with no return tag #2047

@sandersn

Description

@sandersn

Steps to reproduce

From

test: submodule/conformance/jsDeclarationsFunctionPrototypeStatic.ts
after #826 is merged

/** @callback {Done}
 * @param {number} failures - the number of failures
 */

Behavior with typescript@5.8

export type Done = (failures: number) => any;

Behavior with tsgo

export type Done = (failures: number) ;

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