TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

TypeScript: The difference between interface and type

1 pointsby saranshkabout 4 years ago

1 comment

vanillajs123about 4 years ago
I just noticed that this TypeScript uses semicolons in the example, and that&#x27;s wrong.<p>The JavaScript standard does not use semicolons any longer: <a href="https:&#x2F;&#x2F;github.com&#x2F;standard&#x2F;standard" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;standard&#x2F;standard</a>