diff --git a/.changeset/update-upstreams.md b/.changeset/update-upstreams.md index 6be58494..5db621de 100644 --- a/.changeset/update-upstreams.md +++ b/.changeset/update-upstreams.md @@ -2,4 +2,4 @@ "@effect/tsgo": patch --- -Update the TypeScript next tag to [`typescript@next`](https://www.npmjs.com/package/typescript/v/7.1.0-dev.20260915.1), which ships [`typescript-go`](https://github.com/microsoft/typescript-go/commit/57d9528db25b8dc8375e18468a870ec3f4277d62) commit `57d9528db25b8dc8375e18468a870ec3f4277d62`, and update the TypeScript latest tag to [`typescript@latest`](https://www.npmjs.com/package/typescript/v/7.0.2). +Update the TypeScript next tag to [`typescript@next`](https://www.npmjs.com/package/typescript/v/7.1.0-dev.20260916.1), which ships [`typescript-go`](https://github.com/microsoft/typescript-go/commit/d2b20b35034bd902bdda5974f522ff00352895e9) commit `d2b20b35034bd902bdda5974f522ff00352895e9`, and update the TypeScript latest tag to [`typescript@latest`](https://www.npmjs.com/package/typescript/v/7.0.2). diff --git a/_packages/tsgo/upstream.json b/_packages/tsgo/upstream.json index 1ee34dbe..cdb32f9f 100644 --- a/_packages/tsgo/upstream.json +++ b/_packages/tsgo/upstream.json @@ -3,7 +3,7 @@ "tags": { "typescript": { "latest": "7.0.2", - "next": "7.1.0-dev.20260915.1" + "next": "7.1.0-dev.20260916.1" }, "oxlint": { "latest": "1.83.0" @@ -18,8 +18,8 @@ "gitHead": "2bd066d87f5bafd315be9f40889d0a60b9e58e0b", "provider": "typescript-go" }, - "7.1.0-dev.20260915.1": { - "gitHead": "57d9528db25b8dc8375e18468a870ec3f4277d62", + "7.1.0-dev.20260916.1": { + "gitHead": "d2b20b35034bd902bdda5974f522ff00352895e9", "provider": "typescript" } }, diff --git a/flake.lock b/flake.lock index ff38c5a5..b2db940c 100644 --- a/flake.lock +++ b/flake.lock @@ -42,17 +42,17 @@ "typescript-src": { "flake": false, "locked": { - "lastModified": 1789427885, - "narHash": "sha256-jmanZXjQAa6tOrbMMQ/mQnxN8mUelpJqL2sQrcCfQu0=", + "lastModified": 1789505560, + "narHash": "sha256-IoETNpBUJ7crjhjBYJHo22Hg9QmBSvBWGfrdRxWrMxQ=", "owner": "microsoft", "repo": "TypeScript", - "rev": "57d9528db25b8dc8375e18468a870ec3f4277d62", + "rev": "d2b20b35034bd902bdda5974f522ff00352895e9", "type": "github" }, "original": { "owner": "microsoft", "repo": "TypeScript", - "rev": "57d9528db25b8dc8375e18468a870ec3f4277d62", + "rev": "d2b20b35034bd902bdda5974f522ff00352895e9", "type": "github" } } diff --git a/flake.nix b/flake.nix index 7161c6d6..72f7f1e8 100644 --- a/flake.nix +++ b/flake.nix @@ -6,7 +6,7 @@ nixpkgsUnstable.url = "github:NixOS/nixpkgs/nixos-unstable"; /* Source of truth: the next profile in `_packages/tsgo/upstream.json`. */ typescript-src = { - url = "github:microsoft/TypeScript/57d9528db25b8dc8375e18468a870ec3f4277d62"; + url = "github:microsoft/TypeScript/d2b20b35034bd902bdda5974f522ff00352895e9"; flake = false; }; }; diff --git a/shim/vfs/shim.go b/shim/vfs/shim.go index 23d52806..4ebeb851 100644 --- a/shim/vfs/shim.go +++ b/shim/vfs/shim.go @@ -4,6 +4,8 @@ package vfs import "github.com/microsoft/TypeScript/tsc/internal/vfs" +import "io/fs" +import _ "unsafe" type DirEntry = vfs.DirEntry type Entries = vfs.Entries @@ -14,6 +16,5 @@ var ErrNotExist = vfs.ErrNotExist var ErrPermission = vfs.ErrPermission type FS = vfs.FS type FileInfo = vfs.FileInfo -var SkipAll = vfs.SkipAll -var SkipDir = vfs.SkipDir -type WalkDirFunc = vfs.WalkDirFunc +//go:linkname WalkDir github.com/microsoft/TypeScript/tsc/internal/vfs.WalkDir +func WalkDir(fileSystem vfs.FS, root string, walkFn fs.WalkDirFunc) error diff --git a/typescript b/typescript index 57d9528d..d2b20b35 160000 --- a/typescript +++ b/typescript @@ -1 +1 @@ -Subproject commit 57d9528db25b8dc8375e18468a870ec3f4277d62 +Subproject commit d2b20b35034bd902bdda5974f522ff00352895e9