Skip to content

Commit

Permalink
[EngSys] remove downlevelIteration typescript option (#30398)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jeremymeng authored Jul 12, 2024
1 parent 5dd2893 commit e6737fc
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion common/tools/dev-tool/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"noImplicitAny": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"downlevelIteration": true,

"resolveJsonModule": true,
"skipLibCheck": true
Expand Down
1 change: 0 additions & 1 deletion sdk/appconfiguration/app-configuration/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"compilerOptions": {
"declarationDir": "./types",
"outDir": "./dist-esm",
"downlevelIteration": true,
"paths": {
"@azure/app-configuration": ["./src/index"]
}
Expand Down
1 change: 0 additions & 1 deletion sdk/core/logger/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"paths": {
"@azure/logger": ["./src/index.ts"]
},
"downlevelIteration": true,
"module": "NodeNext",
"moduleResolution": "NodeNext",
"rootDir": "."
Expand Down
1 change: 0 additions & 1 deletion sdk/eventhub/event-hubs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"compilerOptions": {
"declarationDir": "./types",
"outDir": "./dist-esm",
"downlevelIteration": true,
"noFallthroughCasesInSwitch": false,
"paths": {
"@azure/event-hubs": ["./src/index"]
Expand Down
1 change: 0 additions & 1 deletion sdk/eventhub/eventhubs-checkpointstore-blob/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"compilerOptions": {
"declarationDir": "./typings",
"outDir": "./dist-esm",
"downlevelIteration": true,
"paths": {
"@azure/eventhubs-checkpointstore-blob": ["./src/index"]
}
Expand Down
4 changes: 3 additions & 1 deletion sdk/eventhub/eventhubs-checkpointstore-table/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"compilerOptions": {
"declarationDir": "./typings",
"outDir": "./dist-esm",
"downlevelIteration": true
"paths": {
"@azure/eventhubs-checkpointstore-table": ["./src/index"]
}
},
"exclude": ["node_modules", "./types/**/*.d.ts", "./samples/**/*.ts"],
"include": ["./src/**/*.ts", "./test/**/*.ts"]
Expand Down
1 change: 0 additions & 1 deletion sdk/eventhub/mock-hub/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"module": "commonjs",
"outDir": "./dist",
"declarationDir": "./types",
"downlevelIteration": true,
"sourceMap": true,
"strict": true,
"declaration": true,
Expand Down
1 change: 0 additions & 1 deletion sdk/servicebus/service-bus/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"declarationDir": "./types",
"outDir": "./dist-esm",
"lib": ["dom", "ES2018.AsyncIterable"],
"downlevelIteration": true,
"paths": {
"@azure/service-bus": ["./src/index"]
}
Expand Down

0 comments on commit e6737fc

Please sign in to comment.