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
Initially thought the bug was the runtime behavior and not the type. I thought that generally speaking, method-declared values weren't included on spreads @sandersn.
TypeScript Version: 3.7-Beta
Search Terms: copy this, spread this
Code
Expected behavior:
Return of
a.copy()
should not consider having prototype methods.Actual behavior:
Return of
a.copy()
has a typethis
The text was updated successfully, but these errors were encountered: