Skip to content

Commit

Permalink
Fix .d.ts resolution-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
drwpow committed Sep 8, 2023
1 parent c0e6cd9 commit 8c8b298
Show file tree
Hide file tree
Showing 4 changed files with 366 additions and 510 deletions.
6 changes: 6 additions & 0 deletions .changeset/four-ravens-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"openapi-typescript": patch
"openapi-fetch": patch
---

Restore original .d.ts module-resolution behavior
4 changes: 4 additions & 0 deletions packages/openapi-fetch/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "ES2022",
"moduleResolution": "Node"
},
"exclude": ["./**/*.test.*"]
}
4 changes: 4 additions & 0 deletions packages/openapi-typescript/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "ES2022",
"moduleResolution": "Node"
},
"exclude": ["scripts", "test", "*.ts"]
}
Loading

0 comments on commit 8c8b298

Please sign in to comment.