I added connectToStores in the config, and in one file i have one like export default connectToStores(ApplicationEdit);
the reason seems to be: the regex never matches when you have high order component.
it works for me when i changed
(export\\s?(default)?\\s?(class|interface|let|var|const|function)?) ((${this.higherOrderComponents}).+[, (])?(\\w+)
to
(export\\s?(default)?\\s?(class|interface|let|var|const|function)?) ((${this.higherOrderComponents}).*[, (])?(\\w+)
(.+ -> .*)
I added
connectToStores
in the config, and in one file i have one likeexport default connectToStores(ApplicationEdit);
the reason seems to be: the regex never matches when you have high order component.
it works for me when i changed
(export\\s?(default)?\\s?(class|interface|let|var|const|function)?) ((${this.higherOrderComponents}).+[, (])?(\\w+)
to(export\\s?(default)?\\s?(class|interface|let|var|const|function)?) ((${this.higherOrderComponents}).*[, (])?(\\w+)
(.+
->.*
)