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

Typescript declaration file is not included in package on install #2002

Closed
5 tasks done
dcavanagh opened this issue Apr 18, 2023 · 6 comments · May be fixed by #2144
Closed
5 tasks done

Typescript declaration file is not included in package on install #2002

dcavanagh opened this issue Apr 18, 2023 · 6 comments · May be fixed by #2144

Comments

@dcavanagh
Copy link

I did:

  • Search for if my issue has already been submitted
  • Make sure I'm reporting something precise that needs to be fixed
  • Give my issue a descriptive and concise title
  • Create a minimal working example on JsFiddle or Codepen
    (or gave a link to a demo on the Selectize docs)
  • Indicate precise steps to reproduce in numbers and the result,
    like below

[replace me with a short description of issue]

Steps to reproduce:

  1. npm install @selectize/selectize
  2. ls node_modules/@selectize/selectize

Expected result:
LICENSE README.md dist index.d.ts package.json

Actual result:
LICENSE README.md dist package.json

index.d.ts is missing from the directory and is needed when using typescript

@github-actions
Copy link
Contributor

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days

@cpsievert
Copy link
Contributor

I would like to see this problem fixed

Copy link
Contributor

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 1, 2024
@dvg-p4
Copy link

dvg-p4 commented Oct 9, 2024

This is still an issue, and seems relatively straightforward to fix?

@dvg-p4
Copy link

dvg-p4 commented Oct 9, 2024

Currently the lack of a typescript definition file can be worked around by using the definition file from https://github.com/DefinitelyTyped/DefinitelyTyped, which appears to be more up-to-date (though not completely).

@dvg-p4
Copy link

dvg-p4 commented Oct 9, 2024

c.f. #2145 -- note that the current file's signatures are significantly out-of-date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants