rename: @motajs/system/src/hotkey/type.ts

This commit is contained in:
unanmed 2026-10-23 20:54:15 +08:00
parent dfd24cfe2a
commit 7d323e1674
7 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@ import { logger } from '@motajs/common';
import { afterAll, afterEach, describe, expect, it, vi } from 'vitest';
import { HotkeyCommand } from '../command';
import { KeyCode } from '../keyCodes';
import { HotkeyEmitMode, IHotkeyCommandInit } from '../type';
import { HotkeyEmitMode, IHotkeyCommandInit } from '../types';
vi.hoisted(() => {
vi.stubGlobal('main', { replayChecking: true });

View File

@ -4,7 +4,7 @@ import { logger } from '@motajs/common';
import { afterAll, afterEach, describe, expect, it, vi } from 'vitest';
import { KeyCode } from '../keyCodes';
import { HotkeySystem } from '../system';
import { HotkeyEmitMode, IHotkeyCommand, IHotkeyCommandInit } from '../type';
import { HotkeyEmitMode, IHotkeyCommand, IHotkeyCommandInit } from '../types';
vi.hoisted(() => {
vi.stubGlobal('main', { replayChecking: true });

View File

@ -1,6 +1,6 @@
import { logger } from '@motajs/common';
import { KeyCode } from './keyCodes';
import { HotkeyEmitMode, IHotkeyCommand, IHotkeyCommandInit } from './type';
import { HotkeyEmitMode, IHotkeyCommand, IHotkeyCommandInit } from './types';
export class HotkeyCommand implements IHotkeyCommand {
readonly priority: number;

View File

@ -3,4 +3,4 @@ export * from './hotkey';
export * from './keyboard';
export * from './keyCodes';
export * from './system';
export * from './type';
export * from './types';

View File

@ -9,7 +9,7 @@ import {
IHotkeyEmitContext,
IHotkeyEmitInfo,
IHotkeySystem
} from './type';
} from './types';
interface IHotkeyScope {
/** 作用域唯一标识符 */