Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
add
"types"
property topackage.json
since
types
wasn't inpackage.json
you couldn't actually use the globally declared postman types:add dependencies for missing types
there are types used in
index.d.ts
that are not listed as dependencies which causes compile errors. i was able to fix some of them but i have no idea where the types for these are supposed to come from:fix required parameter following optional parameter
remove@types/postman-collection
postman-collection
now has types in it, so the outdated types in@types/postman-collection
package is no longer necessary (after postmanlabs/postman-collection#1271 is merged)however the types inpostman-collection
seem to be missingstuff likePropertyDefinition
? https://github.com/DefinitelyTyped/DefinitelyTyped/blob/c432b1015151bc90947ea2ac3b1a50a86734ad0b/types/postman-collection/index.d.ts#L45edit: i have no idea what's up with the
postman-collections
types as both versions of the types seem to have their own issues postmanlabs/postman-collection#602