Bug Report
🔎 Search Terms
Deep union no longer work
🕗 Version & Regression Information
- This is a crash: no
- This changed between versions _4.8 and 4.9
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about yes_
- I was unable to test this on prior versions because tested on prior versions, is regression___
⏯ Playground Link
Playground link with relevant code
💻 Code
typeG={props: ({a: {foo: 1}}&{a: {bar: 2}})}&{props: {a: {qux: 3}}}constg: G={props: {a: {foo: 1,bar: 2,qux: 3,// gives error in 4.9, not in 4.8}}}🙁 Actual behavior
qux gives error:
Object literal may only specify known properties
🙂 Expected behavior
Continues working as it had before
Bug Report
🔎 Search Terms
Deep union no longer work
🕗 Version & Regression Information
⏯ Playground Link
Playground link with relevant code
💻 Code
🙁 Actual behavior
qux gives error:
🙂 Expected behavior
Continues working as it had before