Skip to content

Commit

Permalink
Fixed generated TS declaration files to not include .ts extensions …
Browse files Browse the repository at this point in the history
…in the import/export statements (#4033)
  • Loading branch information
Andarist committed May 19, 2023
1 parent 0957861 commit 9cb7cb5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .changeset/proud-glasses-develop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'xstate': patch
'@xstate/react': patch
---

Fixed generated TS declaration files to not include `.ts` extensions in the import/export statements.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@changesets/cli": "^2.24.4",
"@manypkg/cli": "^0.16.1",
"@manypkg/get-packages": "^1.1.3",
"@preconstruct/cli": "^2.6.4",
"@preconstruct/cli": "^2.7.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/vue": "^6.6.1",
"@types/jest": "^29.5.1",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1892,10 +1892,10 @@
"@nodelib/fs.scandir" "2.1.4"
fastq "^1.6.0"

"@preconstruct/cli@^2.6.4":
version "2.6.4"
resolved "https://registry.yarnpkg.com/@preconstruct/cli/-/cli-2.6.4.tgz#7a4693133335da5bc44fec28a2c1b901176098f3"
integrity sha512-ZGwUqz2dSK8UU75UfMm48+mIEgAzy6OpddgFLIMrMpRZQhQqbLcQ362F2RT9E4f6v0sVr5FQsGFKxPHiL4A4sw==
"@preconstruct/cli@^2.7.0":
version "2.7.0"
resolved "https://registry.yarnpkg.com/@preconstruct/cli/-/cli-2.7.0.tgz#78891a094871ebb401a2e8e42871bc208717cba7"
integrity sha512-reluhXnOCPYhltV9wZZe07v9Eir6+9HiwQtdsUgvmm6UndtDr1kRr2jtObnDtXTjt7LEpU4+TD43+3+Tu7Qebw==
dependencies:
"@babel/code-frame" "^7.5.5"
"@babel/core" "^7.7.7"
Expand Down

0 comments on commit 9cb7cb5

Please sign in to comment.