-
Notifications
You must be signed in to change notification settings - Fork 860
Description
Describe your current workflow
i am writing a fairly convoluted pre-request script which has led me to deciding to write in typescript and store it in a git repo. however, i can't seem to find any existing type definitions that match the pm
object available in pre-request scripts. i found the types in postman-sandbox
, however it seems to be outdated and missing quite a few things (such as pm.cookies.jar
):
i've attempted to fix some of the issues in postmanlabs/postman-sandbox#826 but i'm not too familiar with the api so i had to do a lot of guessing. i'm not even sure if it's supposed to be the same as what's available in the postman tool itself or if it's supposed to be different
Describe your ideal workflow
i can write pre-request outside of postman and get the same typescript support as within postman, using the same type definitions that are available within the postman app
Describe alternatives you've considered
No response
Additional context
No response