Closed baxtersa closed 6 years ago
Yep. We've recently become aware of this and are working toward a fix.
Awesome, thanks!
I just hit this as well. I'll note that as a workaround, you can prevent TypeScript from trying to use the provided definitions by using a require
instead of an import
. I think it means you lose the TS info for the whole library though.
const AWS = require('ibm-cos-sdk');
A fix for this should be included in the next patch version towards the end of this month.
Should be fixed in 1.1.4
. Let me know if there's any issues.
I have a project which imports this package as follows:
Using TypeScript v2.3.4, I get a handful of compilation errors that types cannot be found and that namespaces don't export types. I pasted the log from typescript below. Have people seen this before? I'm on the most recent NPM package release as well.