Skip to content

Commit

Permalink
Swapped some initialization statements to prevent potential issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mweststrate committed Aug 20, 2017
1 parent 593b85c commit 9a22b88
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/types/complex-types/object.ts
Expand Up @@ -327,7 +327,6 @@ export class ObjectType<S, T> extends ComplexType<S, T> implements IModelType<S,
applySnapshot(node: Node, snapshot: any): void {
const s = this.applySnapshotPreProcessor(snapshot)
typecheck(this, s)
// TODO: check that there are no superfluos properties!
this.forAllProps((name, type) => {
node.storedValue[name] = s[name]
})
Expand Down

0 comments on commit 9a22b88

Please sign in to comment.