A JavaScript library providing multiple simultaneous, stable, fault-tolerant and resumable/restartable file uploads via the HTML5 File API.
2.96k
stars
346
forks
source link
Subtypes not unifying through generic parameter #355
Closed
eborden closed 2 years ago
Maybe I'm missing something, but it seems that
flow
should be able to unifybroken
sinceStruct<string>
is a subtype ofStruct<Union>
.https://flow.org/try/#0PQKgBAAgZgNg9gdzCYAoVAXAngBwKZgCqAdgJZzFgC8YxArgLYBGeATmAD5gDOGrpxAOacwTOHBh4AhsXTZ8YAMp86AYwwAeAIIA+amADeUcQC4wWgL7oodYuvKVbpKKTzdtZkg50AKAB5myqxqmroAlIZgVqg2dhgOoqxwANZ4xP6BKuoaXhQ6EQZR6KoUvDxZGCZBIRq8-EJ6NEamYABExnCt0U4ubj51IWGoTEmp6QPqYUA