Skip to content

Commit 236b7c4

Browse files
committed
update readme
1 parent 8523006 commit 236b7c4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Code (and Typescript code in particular) has a lot of characters and symbols tha
1414

1515
So I developed a solution.
1616

17-
This is an touch typing app with a difference. Practice with real typescript code examples and build your speed and confidence code snippets like this that are a far cry from the <i>quick brown foxes jumping over sleeping dogs!! 🦊💤🐶.<i>
17+
This is an touch typing app with a difference. Practice with real typescript code examples and build your speed and confidence to code snippets like this that are a far cry from the <i>quick brown foxes jumping over sleeping dogs!! 🦊💤🐶.<i>
1818

1919
```typescript
2020
function removeSorted<T>(array: SortedArray<T>, remove: T, compare: Comparer<T>): void {

public/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const snippets = {
1616
functions: [
1717
`const`,
1818
`function reverse(s: string): string;`,
19-
`function playSound(x: (audioPlayer) => void) {x();}`,
19+
`function playSound(x: () => void) {x();}`,
2020
`constructor(fname:string, lname:string, age:number, married:boolean)`,
2121
`const compact = (arr: any[]) => arr.filter(Boolean);`,
2222
`let oddNumbers2:number[] = myArr.filter( (n:number) => n % 2 == 0 )`,

src/app.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const snippets: {
1919
functions: [
2020
`const`,
2121
`function reverse(s: string): string;`,
22-
`function playSound(x: (audioPlayer) => void) {x();}`,
22+
`function playSound(x: () => void) {x();}`,
2323
`constructor(fname:string, lname:string, age:number, married:boolean)`,
2424
`const compact = (arr: any[]) => arr.filter(Boolean);`,
2525
`let oddNumbers2:number[] = myArr.filter( (n:number) => n % 2 == 0 )`,

0 commit comments

Comments
 (0)