Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
robturtle committed Dec 9, 2019
1 parent 8db1e73 commit 8cfcff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sample.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ if (typeof decoded.note != 'string') {
if (!(decoded.date instanceof Date)) {
throw new Error('date is not a Date');
}
if (!(typeof decoded.pages !== 'number')) {
if (typeof decoded.pages !== 'number') {
throw new Error('pages is not a number');
}

Expand Down

0 comments on commit 8cfcff5

Please sign in to comment.