Skip to content

Commit

Permalink
skip instanceof checks, fixes #571
Browse files Browse the repository at this point in the history
  • Loading branch information
mweststrate committed Sep 28, 2016
1 parent 0c9a482 commit a270fda
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/types/observablemap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,4 +302,5 @@ export function map<V>(initialValues?: IMapEntries<V> | IKeyValueMap<V>, valueMo
return new ObservableMap(initialValues, valueModifier);
}

export const isObservableMap = createInstanceofPredicate("ObservableMap", ObservableMap);
/* 'var' fixes small-build issue */
export var isObservableMap = createInstanceofPredicate("ObservableMap", ObservableMap);

0 comments on commit a270fda

Please sign in to comment.