What is an interface in typescript?

what is an interface in typescript?explain with a simple example in type ‘strings’.

1 Like

Hello!

See this link:
https://www.tutorialspoint.com/typescript/typescript_interfaces.htm

If your still confused, please let me know!

I hope this helps =)

5 Likes

Sir,
I tried studying the official documentation long before(the link which you have given) but I find the explanation and examples difficult to follow.I tried various eBooks also but still no use.If you could provide a one line explanation and a simple example it would help me.
Regards

1 Like

This topic was automatically closed 18 hours after the last reply. New replies are no longer allowed.