Skip to content

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

Not planned
@dcavanagh

Description

@dcavanagh

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

Activity

github-actions

github-actions commented on Aug 17, 2023

@github-actions
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

cpsievert commented on Aug 18, 2023

@cpsievert
Contributor

I would like to see this problem fixed

github-actions

github-actions commented on Dec 17, 2023

@github-actions
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

dvg-p4

dvg-p4 commented on Oct 9, 2024

@dvg-p4

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

dvg-p4

dvg-p4 commented on Oct 9, 2024

@dvg-p4

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

dvg-p4 commented on Oct 9, 2024

@dvg-p4

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @cpsievert@dcavanagh@dvg-p4

      Issue actions

        Typescript declaration file is not included in package on install · Issue #2002 · selectize/selectize.js