Skip to content

Commit

Permalink
Minor updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevils committed Aug 13, 2020
1 parent 8582b1b commit fe449fd
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 2 deletions.
8 changes: 8 additions & 0 deletions public/index.html
Expand Up @@ -24,5 +24,13 @@
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-175373303-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'UA-175373303-1');
</script>
</body>
</html>
2 changes: 1 addition & 1 deletion public/manifest.json
Expand Up @@ -8,7 +8,7 @@
"type": "image/x-icon"
},
{
"src": "logo192.png",
"src": "logo-192.png",
"type": "image/png",
"sizes": "192x192"
},
Expand Down
4 changes: 3 additions & 1 deletion src/containers/exercise/index.tsx
Expand Up @@ -142,7 +142,9 @@ export function Exercise({exerciseNumber}: {exerciseNumber: number}) {
<ValidationErrors errors={errors} onClick={onErrorClick} />
<ButtonsWrapper>
{'I give up, '}
<ExerciseButton onClick={showSolutions}>show possible solution</ExerciseButton>
<ExerciseButton onClick={showSolutions}>
show a possible solution
</ExerciseButton>
</ButtonsWrapper>
</>
)}
Expand Down
14 changes: 14 additions & 0 deletions src/exercises/1/index.solution.ts
Expand Up @@ -16,6 +16,20 @@ Welcome to:
. .
................................................................
The goal: Let everyone play with many different TypeScript features
and get an overview of TypeScript capabilities and principles.
Things to cover:
1. Basic typing.
2. Refining types.
3. Union types.
4. Merged types.
5. Generics.
6. Type declarations.
7. Module augmentation.
8. Advanced type mapping.
Brief UI guide:
+--------------------------------------------------------------+
Expand Down
14 changes: 14 additions & 0 deletions src/exercises/1/index.ts
Expand Up @@ -16,6 +16,20 @@ Welcome to:
. .
................................................................
The goal: Let everyone play with many different TypeScript features
and get an overview of TypeScript capabilities and principles.
Things to cover:
1. Basic typing.
2. Refining types.
3. Union types.
4. Merged types.
5. Generics.
6. Type declarations.
7. Module augmentation.
8. Advanced type mapping.
Brief UI guide:
+--------------------------------------------------------------+
Expand Down

0 comments on commit fe449fd

Please sign in to comment.