Skip to content

Commit baaccb3

Browse files
committed
age: number
1 parent a390a4b commit baaccb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/ts/Part2Ex3Optional.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ A common way to handle an Optional value is to provide a default value if in the
117117
You can do this with fold, but getOr is a shortcut.
118118
*/
119119

120-
// TODO: Using getOr, take an Optional<{age: string}> and turn it into an {age: string}, using a default value of 0.
120+
// TODO: Using getOr, take an Optional<{age: number}> and turn it into an {age: number}, using a default value of 0.
121121

122122
// TODO: Write the same function using fold
123123

0 commit comments

Comments
 (0)