downshift-js/downshift

JSDoc comments in typings to enhance usability of props

Open

#1.057 aberto em 20 de mai. de 2020

Ver no GitHub
 (2 comments) (3 reactions) (0 assignees)JavaScript (980 forks)batch import
chorehelp wanted

Métricas do repositório

Stars
 (11.761 stars)
Métricas de merge de PR
 (Mesclagem média 6d 9h) (5 fundiu PRs em 30d)

Description

  • downshift version: 5.4.0

Problem description:

Currently, all descriptions of props are found through Github. They are nice and all, but it is a hassle to access the repo every time I need to read further up on the props.

Suggested solution:

Add all descriptions to index.d.ts from the README's in a JSDoc-like format (e.g. typedoc), thus having the descriptions readily available through your IDE/editor of choice

Here is an example of what it may look like in VSCode when a line was added. image

Guia do colaborador