Gajus Kuizinas
1 min readOct 31, 2019

--

After updating I ran into the issue that you describe in the article:

indexer string [3] may overwrite properties with explicit keys in a way that Flow cannot track

How do I update types when the intent here is to override oldHeaders with whatever overlapping props in appendHeaders?

--

--

Gajus Kuizinas
Gajus Kuizinas

Written by Gajus Kuizinas

Founder, engineer interested in JavaScript, PostgreSQL and DevOps. Follow me on Twitter for outbursts about startups & engineering. https://twitter.com/kuizinas

Responses (1)