Open dairyisscary opened 4 months ago
What typescript version are you using?
As specificed in the original issue, this was produced in typescript version 5.3.3, though it still appears to be the case in 5.4.x.
I have made a minmalist reproduction with a replit here: https://replit.com/@dairyisscary/Aws-sdk-reproduction?v=1#tsconfig.json
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