Skip to content

Declarations breaks typescript build when "skipLibCheck" is false #446

Description

@JuanMurciaN

Environment:

  • nodejs 18.20.4
  • npm 10.5.1

The library breaks typescript projects that check library's .d.ts files because a handful of these files are missing the exported members. Attached is a dummy project that recreates the failure, but it can be easily recreated by

  • Create a new npm project with npm init
  • Install typescript
  • Init typescript with npx tsc --init
  • Remove, or set to false skipLibCheck inside tsconfig.json
  • Install the library with npm i ews-javascript-api
  • Create a dummy file that imports something from the library
  • Build using npx tsc

dummy.zip

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions