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
consta: string[]=Object.assign({},[]);// Type 'Record<number, string>' is missing the following properties from type 'string[]': length, pop, push, concat, and 25 more.constb: string[]=Object.assign({},"ASD");// Type 'Record<number, string>' is not assignable to type 'string[]'.
TypeScript Version: 3.8.0-dev.20191218
Search Terms: Object assign spread array
Expected behavior:
Actual behavior:
Code
Output
Compiler Options
Playground Link: Provided
The text was updated successfully, but these errors were encountered: