Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Typescript types are not recognized, jsdoc comments confused #22

@technobuddha

Description

@technobuddha

The very first typescript I attempted to generate jsdoc comments for:

/**

  • @param {} {data
  • @param {{data:T[]} columns}
  • @param {ColumnSpecifications}} columns?
  • @returns Shape
    */
    function analyze<T = unknown>({data, columns}: {data: T[], columns?: ColumnSpecifications}): {types: Record<string, ColumnType>, shape: Shape} {

The arguments are incorrect with the types and don't have correct syntax (The number of open/closed braces don't match). The return type is also incorrect.

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