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

Export Options type from package #88

Merged
merged 1 commit into from
Jan 15, 2022
Merged

Export Options type from package #88

merged 1 commit into from
Jan 15, 2022

Conversation

tatethurston
Copy link
Contributor

Export the Options type so consumers can reference the type. This was exported in 6.1.1 and lost during the TypeScript refactor.

The only other way to reference the type is Paramaters<typeof mem>[1] which isn't very ergonomic, and doesn't expose the generic parameters.

Export the `Options` type so consumers can reference the type. The only other way to reference the type is `Paramaters<typeof mem>[1]` which isn't ergonomic, and doesn't expose the generic parameters.
@sindresorhus sindresorhus changed the title Export Options type from package Export Options type from package Jan 15, 2022
@sindresorhus sindresorhus merged commit 9a937d0 into sindresorhus:main Jan 15, 2022
This pull request was closed.
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.

3 participants