Skip to content

Commit c009fee

Browse files
Jim FloresJim Flores
authored andcommitted
Draft of TypeScript exercises starter code (parts 1 - 3).
0 parents  commit c009fee

File tree

4 files changed

+32
-0
lines changed

4 files changed

+32
-0
lines changed

exercises/parts1-3.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// URL for the instructions:
2+
// https://education.launchcode.org/intro-to-professional-web-dev/chapters/typescript/exercises.html
3+
4+
// Part 1: Add the 5 variables here
5+
6+
7+
8+
9+
10+
// Code part 2 here:
11+
12+
13+
14+
15+
// Part 3: Define the 'getDaysToLocation' function here:

exercises/parts4-5.ts

Whitespace-only changes.

exercises/tsconfig.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"compilerOptions": {
3+
"target": "es6",
4+
"lib": ["esnext", "dom"],
5+
"module": "commonjs",
6+
"moduleResolution": "node",
7+
"strict": true,
8+
"jsx": "react",
9+
"allowJs": true,
10+
"sourceMap": true,
11+
"inlineSources": true,
12+
"types": ["node"],
13+
"allowSyntheticDefaultImports": true,
14+
"experimentalDecorators": true
15+
}
16+
}
17+

studio.ts

Whitespace-only changes.

0 commit comments

Comments
 (0)