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 file node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.d.ts does not pass typescript typechecker. I have elided the output but there are 22 instances of this same error:
node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.d.ts:7:26 - error TS2709: Cannot use namespace 'Long' as a type.
7 timestampMs: (number|Long);
~~~~
node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.d.ts:89:33 - error TS2709: Cannot use namespace 'Long' as a type.
89 public timestampMs: (number|Long);
~~~~
i think that some combination of the tsconfig.json configuration options module, moduleResolution and of course, skipLibCheck: false are what make the semantics of this particular line import Long = require("long"); invalid here. 🤷
What happened and what did you expect to happen?
The file
node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.d.ts
does not pass typescript typechecker. I have elided the output but there are 22 instances of this same error:Versions:
skipLibCheck
is false in my projectI did a manual patch of
SignalingProtocol.d.ts
to change and it seems to compileHave you reviewed our existing documentation?
Reproduction steps
yarn run tsc
as a downstream project that checks libs with"skipLibCheck": false
in one'stsconfig.json
Amazon Chime SDK for JavaScript version
posted above
What browsers are you seeing the problem on?
n/a
Browser version
n/a
Meeting and Attendee ID Information.
No response
Browser console logs
n/a
The text was updated successfully, but these errors were encountered: