Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mvayngrib committed Dec 2, 2017
1 parent ef81307 commit 887bb9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/typeforce-types.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/typeforce-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ exports.hasType = function hasType (obj) {
return true
}

exports.hasTimestamp = function hasType (obj) {
exports.hasTimestamp = function hasTimestamp (obj) {
if (typeof obj._time !== 'number') {
throw new Error(`expected timestamp "_time"`)
}
Expand Down

0 comments on commit 887bb9e

Please sign in to comment.