mirror of
https://github.com/motajs/template.git
synced 2026-10-31 05:40:17 +08:00
rename: @motajs/system/src/hotkey/type.ts
This commit is contained in:
parent
dfd24cfe2a
commit
7d323e1674
0
packages-user/client-base/src/use/types.ts
Normal file
0
packages-user/client-base/src/use/types.ts
Normal 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 });
|
||||
|
||||
@ -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 {
|
||||
/** 作用域唯一标识符 */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user