fix(curriculum): update misleading explanation on interfaces (#67458)

This commit is contained in:
laxita
2026-05-20 01:08:50 +05:30
committed by GitHub
parent ee78e5f23f
commit 2fa472e83b
@@ -31,7 +31,7 @@ interface User {
}
```
`type` and `interface` are similar but one key difference is that interfaces use the `extends` keyword to build on other interfaces, while `type` aliases use intersection types (`&`) to combine types.
`type` and `interface` are similar but one key difference is that interfaces use the `extends` keyword to build on other interfaces or types, while `type` aliases use intersection types (`&`) to combine types.
Let's look at some examples: