Skip to content

Comments

(TypeScript) 自订类名修订:File -> FileInfo#1174

Merged
CodFrm merged 1 commit intoscriptscat:mainfrom
cyfung1031:pr-type-rename-1901
Feb 1, 2026
Merged

(TypeScript) 自订类名修订:File -> FileInfo#1174
CodFrm merged 1 commit intoscriptscat:mainfrom
cyfung1031:pr-type-rename-1901

Conversation

@cyfung1031
Copy link
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
Collaborator Author

@cyfung1031 cyfung1031 Feb 1, 2026

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants