mirror of
https://github.com/Comfy-Org/Comfy-PR.git
synced 2026-11-04 23:37:33 +00:00
[PR #157] [MERGED] fix: resolve all TypeScript lint errors for tsgo compatibility #157
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/Comfy-PR#157
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/Comfy-PR/pull/157
Author: @comfy-pr-bot
Created: 2/17/2026
Status: ✅ Merged
Merged: 2/18/2026
Merged by: @comfy-pr-bot
Base:
main← Head:sno-fix-lint-2026-02-17📝 Commits (1)
210e486fix: resolve all TypeScript lint errors for tsgo compatibility📊 Changes
62 files changed (+411 additions, -297 deletions)
View changed files
📝
app/(dashboard)/repos/page.tsx(+6 -6)📝
app/(dashboard)/rules/page.tsx(+4 -4)📝
app/api/router.ts(+3 -18)📝
app/api/webhook/github/route.spec.ts(+4 -2)📝
app/tasks/gh-design/GithubDesignTaskMetaEditor.tsx(+1 -1)📝
app/tasks/gh-priority-sync/index.ts(+16 -8)📝
bot/WorkingTasksManager.spec.ts(+40 -16)📝
bot/cli.ts(+3 -2)📝
bot/code/issue-search.ts(+1 -1)📝
bot/code/prbot.ts(+1 -0)📝
bot/codesearch-ai-wip.ts(+24 -14)📝
bot/notion/search.ts(+12 -6)📝
bot/registry/search.ts(+2 -2)📝
bot/slack-bolt.ts(+22 -10)📝
bot/slack-bot.ts(+2 -1)📝
bot/slack/file.ts(+21 -12)📝
bot/slack/msg-read-thread.ts(+3 -3)📝
bot/slack/stream.ts(+1 -0)📝
bot/templateLoader.ts(+2 -2)📝
bot/utils/filterDebugMessages.ts(+1 -1)...and 42 more files
📄 Description
Summary
tsgo(TypeScript native Go compiler) type checkingas anycasts and type annotations with properas unknown as TpatternsFileElement/Attachment/Reactionlack index signaturesDeepAsyncWrappertype inslackCached.tsto useinferinstead ofunknown[]for callable matching...(cond && obj)pattern with...(cond ? obj : {})Test plan
tsgoreports 0 errorsoxlint --fixpasses with 0 errors (213 warnings are pre-existing)oxfmt --writeformatting applied🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.