mirror of
https://github.com/motajs/template.git
synced 2026-11-01 22:24:31 +08:00
style(03-06): normalize tile migration formatting
- Apply repository CRLF and Prettier formatting - Record remaining out-of-scope type diagnostics
This commit is contained in:
1 parent
a12b2d2db8
commit
f911ac5989
3 files changed
+5
-6
No files matched your search
@@ -107,7 +107,9 @@ export class TileStore<TLegacy = unknown> implements ITileStore<TLegacy> {
|
||||
}
|
||||
|
||||
/** 将原始事件对象转换为运行时使用的数字键事件映射 */
|
||||
private createEventMap(events: Record<number, string>): Map<number, string> {
|
||||
private createEventMap(
|
||||
events: Record<number, string>
|
||||
): Map<number, string> {
|
||||
const eventMap = new Map<number, string>();
|
||||
for (const [priority, event] of Object.entries(events)) {
|
||||
eventMap.set(Number(priority), event);
|
||||
|
||||
Reference in new issue
Block a user