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
I am using typescript and install swagger2-postman2, but when I import it i got the error
Could not find a declaration file for module 'swagger2-postman2'. 'node_modules/swagger2-postman2/index.js' implicitly has an 'any' type.
Try `npm install @types/swagger2-postman2` if it exists or add a new declaration (.d.ts) file containing `declare module 'swagger2-postman2';`ts(7016)
If i try npm install @types/swagger2-postman2 the response is no found.
Could you provide .d.ts file with typescript types.
The text was updated successfully, but these errors were encountered:
I generated a declaration (.d.ts) file containing declare module 'swagger2-postman2', it could be used as an started point, but would be nice if there is one official. I needed to add 2 devDependencies for types, openapi-types and @types/postman-collection
I am using typescript and install
swagger2-postman2
, but when I import it i got the errorIf i try
npm install @types/swagger2-postman2
the response is no found.Could you provide
.d.ts
file with typescript types.The text was updated successfully, but these errors were encountered: