Skip to content

chore: remove cjs named exports mimicking esm#7969

Draft
gribnoysup wants to merge 1 commit intomainfrom
remove-esm-cjs-compat-named-exports-stub-files
Draft

chore: remove cjs named exports mimicking esm#7969
gribnoysup wants to merge 1 commit intomainfrom
remove-esm-cjs-compat-named-exports-stub-files

Conversation

@gribnoysup
Copy link
Copy Markdown
Collaborator

Now that we're on nodenext, we can remove these mock named exports

export default function configureStore(
...args: Parameters<typeof getMockedPluginArgs>
) {
): any /* TODO: typescript is struggling to infer the types here correctly */ {
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only place where typescript is failing to infer the types causing the dreaded "This is likely not portable. A type annotation is necessary." error. Will try to deal with that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant