[PR #213] [MERGED] Add support for TS 4.9.5 #581

Closed
opened 2026-02-15 19:15:06 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/213
Author: @jacoblee93
Created: 6/12/2024
Status: Merged
Merged: 6/13/2024
Merged by: @jacoblee93

Base: mainHead: jacob/ts


📝 Commits (1)

📊 Changes

6 files changed (+27 additions, -23 deletions)

View changed files

📝 langgraph/package.json (+1 -1)
📝 langgraph/src/graph/graph.ts (+5 -2)
📝 langgraph/src/graph/state.ts (+6 -6)
📝 langgraph/src/pregel/index.ts (+2 -2)
📝 package.json (+3 -2)
📝 yarn.lock (+10 -10)

📄 Description

Needed to remove the const in generic types, as it's only available in TS 5. Not sure exactly what the consequences of removing this feature are but code changes seemed small?

Sets resolutions to typescript@4.9.5 to test, might not be a bad thing going forwards to resolve to the minimum allowable version.

CC @nfcampos @andrewnguonly


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langgraphjs/pull/213 **Author:** [@jacoblee93](https://github.com/jacoblee93) **Created:** 6/12/2024 **Status:** ✅ Merged **Merged:** 6/13/2024 **Merged by:** [@jacoblee93](https://github.com/jacoblee93) **Base:** `main` ← **Head:** `jacob/ts` --- ### 📝 Commits (1) - [`c556c4e`](https://github.com/langchain-ai/langgraphjs/commit/c556c4eb402eebbd20e316a6dcc9fe2fd42dcd0d) Add support for TS 4.9.5 ### 📊 Changes **6 files changed** (+27 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `langgraph/package.json` (+1 -1) 📝 `langgraph/src/graph/graph.ts` (+5 -2) 📝 `langgraph/src/graph/state.ts` (+6 -6) 📝 `langgraph/src/pregel/index.ts` (+2 -2) 📝 `package.json` (+3 -2) 📝 `yarn.lock` (+10 -10) </details> ### 📄 Description Needed to remove the `const` in generic types, as it's only available in TS 5. Not sure exactly what the consequences of removing this feature are but code changes seemed small? Sets `resolutions` to `typescript@4.9.5` to test, might not be a bad thing going forwards to resolve to the minimum allowable version. CC @nfcampos @andrewnguonly --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 19:15:06 -05:00
yindo closed this issue 2026-02-15 19:15:06 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs#581