downshift-js/downshift

React.HTMLProps is not a thing in Flow

Open

#657 aberto em 29 de jan. de 2019

Ver no GitHub
 (5 comments) (0 reactions) (0 assignees)JavaScript (980 forks)batch import
help 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

Problem description:

Your Flow type definitions make use of React.HTMLProps, but this type doesn't exist in Flow.

https://github.com/paypal/downshift/blob/master/flow-typed/npm/downshift_v2.x.x.js.flow#L143

Suggested solution:

Maybe $Shape<HTMLSomething> will produce something similar.

Guia do colaborador