Skip to content

Commit c1bbd1f

Browse files
committed
switch
1 parent f5eba6c commit c1bbd1f

6 files changed

Lines changed: 3 additions & 4 deletions

File tree

bin/configs/typescript-fetch-with-npm-version.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ additionalProperties:
77
npmName: '@openapitools/typescript-fetch-petstore'
88
npmRepository: https://skimdb.npmjs.com/registry
99
snapshot: false
10+
ignoreDeprecations: true

modules/openapi-generator/src/main/resources/typescript-fetch/tsconfig.mustache

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
"compilerOptions": {
33
"declaration": true,
44
"target": "{{#supportsES6}}es6{{/supportsES6}}{{^supportsES6}}es5{{/supportsES6}}",
5+
{{#ignoreDeprecations}}
56
"ignoreDeprecations": "{{#supportsES6}}6.0{{/supportsES6}}{{^supportsES6}}5.0{{/supportsES6}}",
7+
{{/ignoreDeprecations}}
68
{{#sagasAndRecords}}
79
"strict": true,
810
{{/sagasAndRecords}}

samples/client/petstore/typescript-fetch/builds/es6-target/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"compilerOptions": {
33
"declaration": true,
44
"target": "es6",
5-
"ignoreDeprecations": "6.0",
65
"module": "commonjs",
76
"moduleResolution": "node",
87
"outDir": "dist",

samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"compilerOptions": {
33
"declaration": true,
44
"target": "es5",
5-
"ignoreDeprecations": "5.0",
65
"module": "commonjs",
76
"moduleResolution": "node",
87
"outDir": "dist",

samples/client/petstore/typescript-fetch/builds/sagas-and-records/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"compilerOptions": {
33
"declaration": true,
44
"target": "es6",
5-
"ignoreDeprecations": "6.0",
65
"strict": true,
76
"module": "commonjs",
87
"moduleResolution": "node",

samples/client/petstore/typescript-fetch/builds/without-runtime-checks/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"compilerOptions": {
33
"declaration": true,
44
"target": "es5",
5-
"ignoreDeprecations": "5.0",
65
"module": "commonjs",
76
"moduleResolution": "node",
87
"outDir": "dist",

0 commit comments

Comments
 (0)