File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,8 @@ test("function types", () => {
89
89
return x * 3 ;
90
90
}
91
91
92
+ timesThree ( "hello" ) ;
93
+
92
94
/**
93
95
* We can use a slightly different function declaration syntax:
94
96
*/
@@ -258,6 +260,8 @@ test("supersets and structural compatibility", () => {
258
260
return `That ${ item . name } will be $${ item . cost } ` ;
259
261
}
260
262
263
+ priceStatement ( apple ) ;
264
+
261
265
type FlavoredFoodItem = {
262
266
name : string ;
263
267
cost : number ;
@@ -331,6 +335,7 @@ test("supersets and structural compatibility", () => {
331
335
// })
332
336
// /**************************************************************************/
333
337
338
+ // /**************************************************************************/
334
339
// test("Writing a function with help from TS", () => {
335
340
// /*
336
341
// * ======================================================
You can’t perform that action at this time.
0 commit comments