Skip to content

Commit 974add1

Browse files
committed
Sync thows in stub
1 parent f9a9289 commit 974add1

File tree

97 files changed

+194
-194
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+194
-194
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export function accumulate(list: unknown, accumulator: unknown): never {
2-
throw new Error('Remove this statement and implement this function')
2+
throw new Error('Remove this line and implement the function')
33
}

exercises/practice/acronym/acronym.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export function parse(phrase: unknown): unknown {
2-
throw new Error('Remove this statement and implement this function')
2+
throw new Error('Remove this line and implement the function')
33
}

exercises/practice/all-your-base/all-your-base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ export function convert(
33
inputBase: unknown,
44
outputBase: unknown
55
): unknown {
6-
throw new Error('Remove this statement and implement this function')
6+
throw new Error('Remove this line and implement the function')
77
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
export class Allergies {
22
constructor(allergenIndex: unknown) {
3-
throw new Error('Remove this statement and implement this function')
3+
throw new Error('Remove this line and implement the function')
44
}
55

66
public list(): unknown {
7-
throw new Error('Remove this statement and implement this function')
7+
throw new Error('Remove this line and implement the function')
88
}
99

1010
public allergicTo(allergen: unknown): unknown {
11-
throw new Error('Remove this statement and implement this function')
11+
throw new Error('Remove this line and implement the function')
1212
}
1313
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export function solve(puzzle: unknown): unknown {
2-
throw new Error('Remove this statement and implement this function')
2+
throw new Error('Remove this line and implement the function')
33
}

exercises/practice/anagram/anagram.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
export class Anagram {
22
constructor(input: unknown) {
3-
throw new Error('Remove this statement and implement this function')
3+
throw new Error('Remove this line and implement the function')
44
}
55

66
public matches(...potentials: unknown[]): unknown {
7-
throw new Error('Remove this statement and implement this function')
7+
throw new Error('Remove this line and implement the function')
88
}
99
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export function isArmstrongNumber(number: unknown): unknown {
2-
throw new Error('Remove this statement and implement this function')
2+
throw new Error('Remove this line and implement the function')
33
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export function encode(plainText: unknown): unknown {
2-
throw new Error('Remove this statement and implement this function')
2+
throw new Error('Remove this line and implement the function')
33
}
44

55
export function decode(cipherText: unknown): unknown {
6-
throw new Error('Remove this statement and implement this function')
6+
throw new Error('Remove this line and implement the function')
77
}

exercises/practice/bank-account/bank-account.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,26 @@ export class ValueError extends Error {
1111

1212
export class BankAccount {
1313
constructor() {
14-
throw new Error('Remove this statement and implement this function')
14+
throw new Error('Remove this line and implement the function')
1515
}
1616

1717
open(): unknown {
18-
throw new Error('Remove this statement and implement this function')
18+
throw new Error('Remove this line and implement the function')
1919
}
2020

2121
close(): unknown {
22-
throw new Error('Remove this statement and implement this function')
22+
throw new Error('Remove this line and implement the function')
2323
}
2424

2525
deposit(_argument: unknown): unknown {
26-
throw new Error('Remove this statement and implement this function')
26+
throw new Error('Remove this line and implement the function')
2727
}
2828

2929
withdraw(_argument: unknown): unknown {
30-
throw new Error('Remove this statement and implement this function')
30+
throw new Error('Remove this line and implement the function')
3131
}
3232

3333
get balance(): unknown {
34-
throw new Error('Remove this statement and implement this function')
34+
throw new Error('Remove this line and implement the function')
3535
}
3636
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
export function verse(index: unknown): unknown {
2-
throw new Error('Remove this statement and implement this function')
2+
throw new Error('Remove this line and implement the function')
33
}
44

55
export function sing(
66
initialBottlesCount?: unknown,
77
takeDownCount?: unknown
88
): unknown {
9-
throw new Error('Remove this statement and implement this function')
9+
throw new Error('Remove this line and implement the function')
1010
}

0 commit comments

Comments
 (0)