Skip to content
This repository has been archived by the owner on Dec 22, 2019. It is now read-only.

Fixed typo in variable name #45

Merged
merged 1 commit into from
May 9, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/reflect.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const typeOf = instance => {
if ((typeof instance) === "undefined") {
throw new Error("Undefined Type");
}
if( instance in Types ) return Types[instane]
if( instance in Types ) return Types[instance]

if (typeof instance == 'object') {
if( instance.constructor.name == 'AminoType' ) return instance.typeName()
Expand Down Expand Up @@ -71,4 +71,4 @@ module.exports = {
typeOf,
ownKeys,
typeToTyp3,
}
}