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

Typescript types are not recognized, jsdoc comments confused #22

Open
technobuddha opened this issue Oct 1, 2020 · 0 comments
Open

Comments

@technobuddha
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant