Skip to content

Commit

Permalink
Exposing global.d.ts file to the editor (#2424)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cool-Katt authored Mar 25, 2024
1 parent e3f2df5 commit 90a9ba7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions exercises/concept/pizza-order/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"SleeplessByte",
"safwansamsudeen"
],
"contributors": [
"Cool-Katt"
],
"files": {
"solution": [
"pizza-order.js"
Expand All @@ -12,6 +15,9 @@
],
"exemplar": [
".meta/exemplar.js"
],
"editor": [
"global.d.ts"
]
},
"forked_from": [
Expand Down
3 changes: 3 additions & 0 deletions exercises/concept/pizza-order/pizza-order.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ export function pizzaPrice(pizza, ...extras) {
/**
* Calculate the price of the total order, given individual orders
*
* (HINT: For this exercise, you can take a look at the supplied "global.d.ts" file
* for a more info about the type definitions used)
*
* @param {PizzaOrder[]} pizzaOrders a list of pizza orders
* @returns {number} the price of the total order
*/
Expand Down

0 comments on commit 90a9ba7

Please sign in to comment.