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;

}

6 Answers
6

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *