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
constf=<Pextendsobject>(a: P&{})=>{// Unexpected error:// Type 'P & {}' may represent a primitive value, which is not permitted as the right operand of the 'in' operator.ts(2638)"foo"ina;};
π Actual behavior
See code comment above.
π Expected behavior
See code comment above.
The text was updated successfully, but these errors were encountered:
Bug Report
π Search Terms
in
operatorπ Version & Regression Information
β― Playground Link
Playground link with relevant code
π» Code
π Actual behavior
See code comment above.
π Expected behavior
See code comment above.
The text was updated successfully, but these errors were encountered: