diff --git a/src/record.js b/src/record.js index 4e9da5e..1896022 100644 --- a/src/record.js +++ b/src/record.js @@ -44,9 +44,7 @@ class TypedRecord extends IterableKeyedBase { [Typed.read](structure) { const Type = this.constructor - if (structure instanceof Type && - structure && - structure.constructor === Type) { + if (structure && structure instanceof Type) { return structure }