Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/update-typescript-go-adb2ab4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@effect/tsgo": patch
---

Update the TypeScript-Go submodule to include upstream declaration emit fixes.
16 changes: 8 additions & 8 deletions _patches/005-checker-types.patch
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ diff --git a/internal/checker/types.go b/internal/checker/types.go
index 000000001..000000002 100644
--- a/internal/checker/types.go
+++ b/internal/checker/types.go
@@ -340,6 +340,13 @@ type AssertionLinks struct {
@@ -386,6 +386,13 @@ type AssertionLinks struct {

// SourceFile links

Expand All @@ -14,13 +14,13 @@ index 000000001..000000002 100644
+}
+
type SourceFileLinks struct {
typeChecked bool
unusedChecked bool
@@ -350,6 +357,7 @@ type SourceFileLinks struct {
localJsxFactory *ast.EntityName
localJsxFragmentFactory *ast.EntityName
jsxFragmentType *Type
+ relationErrors []*RelationError // Collected during type checking for Effect diagnostics
typeChecked bool
unusedChecked bool
@@ -396,6 +403,7 @@ type SourceFileLinks struct {
localJsxFactory *ast.EntityName
localJsxFragmentFactory *ast.EntityName
jsxFragmentType *Type
+ relationErrors []*RelationError // Collected during type checking for Effect diagnostics
}

// Signature specific links
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/* Source of truth: git submodule `typescript-go` commit.
Keep in sync via `_tools/update-flake-vendor-hash.sh`. */
typescript-go-src = {
url = "github:microsoft/typescript-go/092b34f534182baf2875887c20ffed2177f14d92?submodules=1";
url = "github:microsoft/typescript-go/adb2ab4ed7d7849bb222eb27c41437d5520335a9?submodules=1";
flake = false;
};
/* Source of truth: typescript-go's `_submodules/TypeScript` commit.
Expand Down
4 changes: 4 additions & 0 deletions shim/ast/shim.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions shim/checker/shim.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion typescript-go
Submodule typescript-go updated 287 files