You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Narrowing nested property given as function argument
🕗 Version & Regression Information
It seems the bug was present for a long time (all 4.x versions). Last checked version is 5.0.0 nightly. I checked the FAQ without finding it as a known issue.
Bug Report
🔎 Search Terms
Narrowing nested property given as function argument
🕗 Version & Regression Information
It seems the bug was present for a long time (all 4.x versions). Last checked version is 5.0.0 nightly. I checked the FAQ without finding it as a known issue.
⏯ Playground Link
Playground link with relevant code
💻 Code
🙁 Actual behavior
When calling
DashboardWidgetKpiComponent
, widget typeWidget
is concidered in place ofWidget & { data: { type: 'kpi' }
.But on other side, directly referencing
widget.data
works fine, but lose memory identity (that matters in react).🙂 Expected behavior
The code should compile without error.
The text was updated successfully, but these errors were encountered: