Could someone please explain in clear sense why there is a type object in TypeScript, and why would you use it instead of JavaScript Object interface?
Similarly, why is there no array type but rather JavaScript interface Array is used?
It is somewhat confusing to see similar examples over the Internet where Array<Object> and Array<object> are in similar context.