Skip to content

Commit e6737fc

Browse files
authored
[EngSys] remove downlevelIteration typescript option (#30398)
It helps old JS runtimes that only support ES 5 but we moved to ES 6 long time ago and now moved to ES2017. Most of our packages don't have this option. This PR removes its usage.
1 parent 5dd2893 commit e6737fc

8 files changed

Lines changed: 3 additions & 8 deletions

File tree

common/tools/dev-tool/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
"noImplicitAny": true,
1515
"noUnusedLocals": true,
1616
"noUnusedParameters": true,
17-
"downlevelIteration": true,
1817

1918
"resolveJsonModule": true,
2019
"skipLibCheck": true

sdk/appconfiguration/app-configuration/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"compilerOptions": {
44
"declarationDir": "./types",
55
"outDir": "./dist-esm",
6-
"downlevelIteration": true,
76
"paths": {
87
"@azure/app-configuration": ["./src/index"]
98
}

sdk/core/logger/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"paths": {
55
"@azure/logger": ["./src/index.ts"]
66
},
7-
"downlevelIteration": true,
87
"module": "NodeNext",
98
"moduleResolution": "NodeNext",
109
"rootDir": "."

sdk/eventhub/event-hubs/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"compilerOptions": {
44
"declarationDir": "./types",
55
"outDir": "./dist-esm",
6-
"downlevelIteration": true,
76
"noFallthroughCasesInSwitch": false,
87
"paths": {
98
"@azure/event-hubs": ["./src/index"]

sdk/eventhub/eventhubs-checkpointstore-blob/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"compilerOptions": {
44
"declarationDir": "./typings",
55
"outDir": "./dist-esm",
6-
"downlevelIteration": true,
76
"paths": {
87
"@azure/eventhubs-checkpointstore-blob": ["./src/index"]
98
}

sdk/eventhub/eventhubs-checkpointstore-table/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"compilerOptions": {
44
"declarationDir": "./typings",
55
"outDir": "./dist-esm",
6-
"downlevelIteration": true
6+
"paths": {
7+
"@azure/eventhubs-checkpointstore-table": ["./src/index"]
8+
}
79
},
810
"exclude": ["node_modules", "./types/**/*.d.ts", "./samples/**/*.ts"],
911
"include": ["./src/**/*.ts", "./test/**/*.ts"]

sdk/eventhub/mock-hub/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"module": "commonjs",
55
"outDir": "./dist",
66
"declarationDir": "./types",
7-
"downlevelIteration": true,
87
"sourceMap": true,
98
"strict": true,
109
"declaration": true,

sdk/servicebus/service-bus/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"declarationDir": "./types",
77
"outDir": "./dist-esm",
88
"lib": ["dom", "ES2018.AsyncIterable"],
9-
"downlevelIteration": true,
109
"paths": {
1110
"@azure/service-bus": ["./src/index"]
1211
}

0 commit comments

Comments
 (0)