Skip to content

Commit

Permalink
changed postman vairable type from variable scope to collection varia…
Browse files Browse the repository at this point in the history
…ble scope
  • Loading branch information
dev-sharma-08 committed Oct 3, 2023
1 parent f3d382f commit 9d631c7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/sandbox/pmapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function Postman (execution, onRequest, onAssertion, cookieStore, options = {})
collectionVariables: execution.collectionVariables,

/**
* @type {VariableScope}
* @type {CollectionVariableScope}
*/
variables: execution._variables,

Expand Down
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ declare class Postman {
globals: VariableScope;
environment: VariableScope;
collectionVariables: CollectionVariableScope;
variables: VariableScope;
variables: CollectionVariableScope;
/**
* The iterationData object contains data from the data file provided during a collection run.
*/
Expand Down
2 changes: 1 addition & 1 deletion types/sandbox/prerequest.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ declare class Postman {
globals: import("postman-collection").VariableScope;
environment: import("postman-collection").VariableScope;
collectionVariables: import("postman-collection").CollectionVariableScope;
variables: import("postman-collection").VariableScope;
variables: import("postman-collection").CollectionVariableScope;
/**
* The iterationData object contains data from the data file provided during a collection run.
*/
Expand Down
2 changes: 1 addition & 1 deletion types/sandbox/test.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ declare class Postman {
globals: import("postman-collection").VariableScope;
environment: import("postman-collection").VariableScope;
collectionVariables: import("postman-collection").CollectionVariableScope;
variables: import("postman-collection").VariableScope;
variables: import("postman-collection").CollectionVariableScope;
/**
* The iterationData object contains data from the data file provided during a collection run.
*/
Expand Down

0 comments on commit 9d631c7

Please sign in to comment.