We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d4d2fc commit 3d897ceCopy full SHA for 3d897ce
README.md
@@ -315,7 +315,7 @@ function main() {
315
316
## Interfaces
317
318
-Interfaces will be used as structurally evaluated types
+Interfaces will be used as structurally evaluated types to help with the creation of generic utilities and testing
319
320
```typescript
321
class Foo {
@@ -336,7 +336,7 @@ Classes can optionally guard against changes through the `implements` keyword.
336
337
This is purely compile time validation to ensure the class does not stray from the desired interface and can be ommited.
338
339
-```
+```typescript
340
class Foo implements IFoo {
341
public read foo(): number { return 42 }
342
}
0 commit comments