culTest

    One of the 25 questions in this topic

    How much do you know about Comprehensive Certification: From Design to Deployment?

    In TypeScript, what differentiates an 'interface' from a 'type'?

    Answers

    Interfaces only work for numbers.
    Interfaces can be extended (re-opened) to add more properties; the types not in the same way.Correct
    Types are faster to execute.
    There is no difference.

    Interfaces are preferable for defining the structure of objects because of their extensibility.