Skip to content

Commit

Permalink
fix: Use unique created symbol instead of looking for one in a global…
Browse files Browse the repository at this point in the history
… repository
  • Loading branch information
emyann committed Jun 6, 2019
1 parent bec21d6 commit 0b128b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ActionSelector, ActionAggregator, ActionFunction } from './types';

export const SCHEMA_OPTIONS_SYMBOL = Symbol.for('SchemaOptions');
export const SCHEMA_OPTIONS_SYMBOL = Symbol('SchemaOptions');

export function isActionSelector<S, R>(value: any): value is ActionSelector<S, R> {
return isObject(value) && value.hasOwnProperty('fn') && value.hasOwnProperty('path');
Expand Down

0 comments on commit 0b128b3

Please sign in to comment.