I am looking at TypeScript code and noticed that they use:
interface Blablabla {
field: Object;
}
What is the benefit of using Object
vs any
, as in:
interface Blablabla {
field: any;
}
I am looking at TypeScript code and noticed that they use:
interface Blablabla {
field: Object;
}
What is the benefit of using Object
vs any
, as in:
interface Blablabla {
field: any;
}