mirror of
https://github.com/motajs/template.git
synced 2026-11-01 14:14:30 +08:00
rename: @motajs/system/src/hotkey/type.ts
This commit is contained in:
1 parent
dfd24cfe2a
commit
7d323e1674
7 files changed
+5
-5
No files matched your search
Whitespace-only changes.
@@ -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 });
|
||||
|
||||
@@ -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 });
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -3,4 +3,4 @@ export * from './hotkey';
|
||||
export * from './keyboard';
|
||||
export * from './keyCodes';
|
||||
export * from './system';
|
||||
export * from './type';
|
||||
export * from './types';
|
||||
@@ -9,7 +9,7 @@ import {
|
||||
IHotkeyEmitContext,
|
||||
IHotkeyEmitInfo,
|
||||
IHotkeySystem
|
||||
} from './type';
|
||||
} from './types';
|
||||
|
||||
interface IHotkeyScope {
|
||||
/** 作用域唯一标识符 */
|
||||
|
||||
File renamed without changes.
Reference in new issue
Block a user