Skip to content

Commit

Permalink
fix(js): ts build (#117)
Browse files Browse the repository at this point in the history
* fix(js): ts build

* fix(ts): allow synthetic default imports
  • Loading branch information
GuillaumeDecMeetsMore authored Oct 15, 2024
1 parent e6c1263 commit 1344126
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 33 deletions.
10 changes: 4 additions & 6 deletions clients/javascript/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
{
"compilerOptions": {
"module": "CommonJS",
"target": "ES5",
"moduleResolution": "Node16",
"module": "Node16",
"target": "ES2015",
"declaration": true,
"declarationDir": "dist",
"outDir": "dist",
"strict": true,
"alwaysStrict": true,
"sourceMap": true,
"esModuleInterop": true,
"moduleResolution": "node",
"downlevelIteration": true,
"lib": ["es2015", "dom", "esnext.asynciterable", "es2017.object"],
"noImplicitAny": true,
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true
},
"include": ["lib/**/*", "tests/**/*"],
Expand Down
31 changes: 4 additions & 27 deletions clients/javascript/tsconfig.release.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,6 @@
{
"compilerOptions": {
"module": "CommonJS",
"target": "ES5",
"declaration": true,
"declarationDir": "dist",
"outDir": "dist",
"strict": true,
"alwaysStrict": true,
"sourceMap": true,
"allowSyntheticDefaultImports": true,
"moduleResolution": "node",
"downlevelIteration": true,
"lib": [
"es2015",
"dom",
"esnext.asynciterable",
"es2017.object",
],
"noImplicitAny": true,
"resolveJsonModule": true
},
"include": [
"lib/**/*",
],
"exclude": [
"node_modules"
]
"extends": "./tsconfig.json",
"compilerOptions": {},
"include": ["lib/**/*"],
"exclude": ["node_modules"]
}

0 comments on commit 1344126

Please sign in to comment.