@autorest/typescript 6.0.35 → 6.0.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/hlcSamples.ts.hbs
CHANGED
|
@@ -30,7 +30,7 @@ async function {{this.sampleFunctionName}}(): Promise<void> {
|
|
|
30
30
|
const client = new {{this.clientClassName}}({{this.clientParameterNames}});
|
|
31
31
|
{{#if this.isPaging}}
|
|
32
32
|
const resArray = new Array();
|
|
33
|
-
for await (
|
|
33
|
+
for await (const item of client{{#unless this.isTopLevel}}.{{this.operationGroupName}}{{/unless}}.{{this.operationName}}({{this.methodParameterNames}})){
|
|
34
34
|
resArray.push(item);
|
|
35
35
|
}
|
|
36
36
|
console.log(resArray);
|
|
@@ -30,7 +30,7 @@ async function {{this.sampleFunctionName}}(): Promise<void> {
|
|
|
30
30
|
const client = new {{this.clientClassName}}({{this.clientParameterNames}});
|
|
31
31
|
{{#if this.isPaging}}
|
|
32
32
|
const resArray = new Array();
|
|
33
|
-
for await (
|
|
33
|
+
for await (const item of client{{#unless this.isTopLevel}}.{{this.operationGroupName}}{{/unless}}.{{this.operationName}}({{this.methodParameterNames}})){
|
|
34
34
|
resArray.push(item);
|
|
35
35
|
}
|
|
36
36
|
console.log(resArray);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@autorest/typescript",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.36",
|
|
4
4
|
"browser": {
|
|
5
5
|
"./test-browser/utils/stream-helpers.js": "./test-browser/utils/stream-helpers.browser.js",
|
|
6
6
|
"./test-browser/utils/fileSystem.js": "./test-browser/utils/fileSystem.browser.js",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"source-map-support": "^0.5.16",
|
|
36
36
|
"ts-morph": "^23.0.0",
|
|
37
37
|
"@azure/core-auth": "^1.6.0",
|
|
38
|
-
"@azure-tools/rlc-common": "^0.38.
|
|
38
|
+
"@azure-tools/rlc-common": "^0.38.4"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@azure-tools/test-recorder": "^3.0.0",
|
|
@@ -30,7 +30,7 @@ async function {{this.sampleFunctionName}}(): Promise<void> {
|
|
|
30
30
|
const client = new {{this.clientClassName}}({{this.clientParameterNames}});
|
|
31
31
|
{{#if this.isPaging}}
|
|
32
32
|
const resArray = new Array();
|
|
33
|
-
for await (
|
|
33
|
+
for await (const item of client{{#unless this.isTopLevel}}.{{this.operationGroupName}}{{/unless}}.{{this.operationName}}({{this.methodParameterNames}})){
|
|
34
34
|
resArray.push(item);
|
|
35
35
|
}
|
|
36
36
|
console.log(resArray);
|