-
-
Notifications
You must be signed in to change notification settings - Fork 44
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 types are not working #50
Comments
I fixed this by editing the |
In the meantime, you can fix types in your project by adding this to a file named e.g. declare module "native-file-system-adapter" {
export * from "native-file-system-adapter/types/mod";
} |
@jimmywarting Helps, please release a new version! |
@jimmywarting Would it be worthwhile to put the .d.ts files right next to the corresponding .js files so that the automatic sibling .d.ts detection works? 🤔 Then you wouldn't need any custom |
maybe. don't care so much where they end up anyway. they are auto generated when publishing anyway |
it worked |
in package.json modify the value
now, it works:
or modify package.json
now, it works:
|
Just save it in a folder called patches, next to your project package.json, then |
This is fixed in the main trunk, can we get a release to npm? |
When I install
[email protected]
, I still get the type errors:Related issue: #39
The text was updated successfully, but these errors were encountered: