File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed
content/academy/switching_to_typescript Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ title : Interfaces (+ mini project)
3
+ description : description
4
+ menuWeight : 7.8
5
+ paths :
6
+ - switching-to-typescript/interfaces
7
+ ---
8
+
9
+ # [ ] ( #interfaces ) Interfaces
10
+
11
+ Interfaces just object types
12
+
13
+ can extend each other
14
+
15
+ classes can extend them to add class constraints
16
+
17
+ ## [ ] ( #mini-project ) Mini-project
18
+
19
+ 1 . Make custom interface for API response
20
+ 2 . Case interface type to API response
21
+ 3 . Make custom interface for modified API response (with omitted key with ` Omit ` + extra custom key using ` extends ` )
22
+ 4 . Filter the data/modify it somehow
23
+ 5 . Return the data having the new modified response type array
Original file line number Diff line number Diff line change @@ -291,4 +291,4 @@ And our files in **src** will automatically compile into a folder named **dist**
291
291
292
292
## [ ] ( #next ) Next up
293
293
294
- something
294
+ [ something] ({{ @ link switching_to_typescript/interfaces.md}})
You can’t perform that action at this time.
0 commit comments