We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22556d8 commit 44ac7f6Copy full SHA for 44ac7f6
src/data/store.ts
@@ -110,7 +110,7 @@ const isAcceptedProcessDeclarationPlugins = (plugins: DeclarationPlugin[]): bool
110
&& typeof plugin.priority == NUMBER_TYPE
111
&& Array.isArray(plugin.processors)
112
&& plugin.processors.every((processor: DeclarationPluginProcessor) =>
113
- ({}).toString.call(processor.expr) === '[object RegExp]'
+ processor.expr instanceof RegExp
114
&& typeof processor.action === FUNCTION_TYPE
115
)
116
);
@@ -272,4 +272,4 @@ const initKeyframesData = (): void => {
272
store.keyframesRegExp = getKeyFramesRegExp(store.keyframesStringMap);
273
};
274
275
-export { store, initStore, initKeyframesData };
+export { store, initStore, initKeyframesData };
0 commit comments