-
Notifications
You must be signed in to change notification settings - Fork 1.9k
index.d.ts
is not published with NPM package
#490
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
Comments
@peterblazejewicz Hi! You are completely right, I did not mention, that the project uses package.json/files and that the file is blacklisted from the package distribution. |
Hey @goooseman @peterblazejewicz, should these types live in DefinitelyTyped instead? Would that be where you expect to find them given that this isn't a TS project? I don't use TS, but the TS publishing docs seem to indicate that we shouldn't publish the types with this package but submit them to DefinitelyTyped:
|
From my personal experience supporting the type definitions is much easier when done from the original repository. I support some of the type definitions in the DefinetelyTyped, but it usually takes too much time to update an existing type definition there. |
And from the consumer perspective providing those definitions with the package itself is much more convenient |
@jdecked thx for asking for opinion. @goooseman knows this project better, so pleasetake his advice. |
Thanks for your feedback folks; we'll keep the types in here for now then. :-) This has been fixed via #491, thanks @goooseman! |
Describe the bug
The
index.d.ts
is not part of NPM distribution and it not listed in thepackage.json
.For this reason is serves no purpose at the moment I'm afraid.
Added here: #399
Thanks!
/cc @goooseman
The text was updated successfully, but these errors were encountered: