You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The issue is caused by the stripInternal flag set to true in the compilation options. Making all exports with an @internal comment not appear on their declaration files. If this is on purpose then the project cannot work with skipLibCheck: false unless the problematic exports @internal documentation comments are removed.
Edit: quote @internal to avoid tagging an unrelated user
Environment:
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 bynpm init
npx tsc --init
skipLibCheck
insidetsconfig.json
npm i ews-javascript-api
npx tsc
dummy.zip
The text was updated successfully, but these errors were encountered: