Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update types file to use new default export syntax #5

Closed
wants to merge 2 commits into from

Conversation

KoltesDigital
Copy link

Hi,

Using the old syntax for default export makes an error with ESLint and the import plugin. More details: import-js/eslint-plugin-import#558 (comment)

This patch uses the new syntax.

@sindresorhus
Copy link
Owner

This is incorrect. The package is a CommonJS module and must use the existing syntax, according to the TypeScript maintainers: sindresorhus/memoize#31

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.

2 participants