(TypeScript) 自订类名修订:File -> FileInfo by cyfung1031 · Pull Request #1174 · scriptscat/scriptcat

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@cyfung1031

Copy link Copy Markdown

Collaborator

Browser本身就有一个 extend Blob 的 File class

https://developer.mozilla.org/en/docs/Web/API/File

因此ScriptCat自订的「File」不应使用同一名字

meta?: File;
}
>();
const uuidMap = new Map<string, Partial<SyncFiles>>();
Copy link Copy Markdown

Collaborator Author

@cyfung1031 cyfung1031

Feb 1, 2026

edited

Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

注:这里直接改成了 Partial<SyncFiles>

@CodFrm CodFrm merged commit 87e52f9 into scriptscat:main

Feb 1, 2026

2 of 3 checks passed

@cyfung1031 cyfung1031 deleted the pr-type-rename-1901 branch

March 22, 2026 16:28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@cyfung1031 @CodFrm