Sign in
Log inSign up

What are the differences between Class and Interface in Typescript?

Lakshay Dulani's photo
Lakshay Dulani
·Aug 28, 2016

I mean if you check out TS' documentation, parameters can be of type Interface. An interface can inherit from a class. Similarly a class can inherit from an interface.

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct