Skip to content

Commit 0b128b3

Browse files
committed
fix: Use unique created symbol instead of looking for one in a global repository
1 parent bec21d6 commit 0b128b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ActionSelector, ActionAggregator, ActionFunction } from './types';
22

3-
export const SCHEMA_OPTIONS_SYMBOL = Symbol.for('SchemaOptions');
3+
export const SCHEMA_OPTIONS_SYMBOL = Symbol('SchemaOptions');
44

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

0 commit comments

Comments
 (0)