-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
Typescript unable to find typings #95
Comments
Apologies, this was a tsconfig issue |
@mattfysh Would you mind sharing what the issue was, exactly? Having the same problem. |
@perry-mitchell it was one of these, hope it works for you!
|
I just used this hack to avoid changing tsconfig. Would need some tweaks if you plan to use other exported types though: memoize.d.ts declare module 'memoize' {
import * as m from 'memoize/dist/index';
export default m.default;
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there, thanks for your great npm packages!
Inspecting the package.json from the recent v10 and it appears the layout has changed. Did you intend to move
index.d.ts
under theexports.types
key? previously it was located in the roottypes
fieldI'm using the latest version of typescript and it appears that it fails to find the correct types with the new layout
Cheers!
The text was updated successfully, but these errors were encountered: