Skip to content

Commit 65fd40f

Browse files
committed
Revert "test with es6"
This reverts commit 333ee76.
1 parent 333ee76 commit 65fd40f

5 files changed

Lines changed: 7 additions & 14 deletions

File tree

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ additionalProperties:
88
npmRepository: https://skimdb.npmjs.com/registry
99
snapshot: false
1010
ignoreDeprecations: true
11-
supportsES6: true

samples/client/petstore/typescript-fetch/builds/with-npm-version/.openapi-generator/FILES

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,4 @@ src/models/Tag.ts
2424
src/models/User.ts
2525
src/models/index.ts
2626
src/runtime.ts
27-
tsconfig.esm.json
2827
tsconfig.json

samples/client/petstore/typescript-fetch/builds/with-npm-version/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@
99
},
1010
"main": "./dist/index.js",
1111
"types": "./dist/index.d.ts",
12-
"module": "./dist/esm/index.js",
13-
"sideEffects": false,
1412
"scripts": {
15-
"build": "tsc && tsc -p tsconfig.esm.json",
13+
"build": "tsc",
1614
"prepare": "npm run build"
1715
},
1816
"devDependencies": {

samples/client/petstore/typescript-fetch/builds/with-npm-version/tsconfig.esm.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

samples/client/petstore/typescript-fetch/builds/with-npm-version/tsconfig.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
{
22
"compilerOptions": {
33
"declaration": true,
4-
"target": "es6",
5-
"ignoreDeprecations": "6.0",
4+
"target": "es5",
5+
"ignoreDeprecations": "5.0",
66
"module": "commonjs",
77
"moduleResolution": "node",
88
"outDir": "dist",
9+
"lib": [
10+
"es6",
11+
"dom"
12+
],
913
"typeRoots": [
1014
"node_modules/@types"
1115
]

0 commit comments

Comments
 (0)