facebook / facebook/flow

Property not found on intersection type

Abierto
#3,952 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Rust
Estrellas
22.3k
Forks
1.9k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

It is not possible to access certain properties on intersection types if you define a list of keys you want to access.

It works if you add the `string[]` type to the properties list.

Here is an example:
https://flow.org/try/#0PTAEAEDMBsHsHcBQiAmBTAxtAhgJzaAC4CeADgQELYDOaA8gEYBWmhoAvKAN6KiiSxYALlDVCuAJYA7AOYBuRAF8F6LHgIlyoALLFGLDG048+DPCLGTZCxaABkoKrX2sFiAG55QAWz3MRui6GHNy8-IIiAEQCsJEANGFmuFFJoACMkUpuIKAAYgCCAJIAMgDKiBiwUmKgpLiwpNQAqlKaaCghANrRgvGgkUmRALqIdQ3NrWTtAHTUsN5oABSLpACUHAB8Pn5MnaRDq9lgAOp0AEoA0uWV1WxjjQAqUygW4tIynUNdPbFx-YMje7UJ7kFCzeZLFbrdhbXz6PYHBRAA

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.