mirror of
https://github.com/0PandaDEV/Qopy.git
synced 2025-06-16 20:07:33 +02:00
27 lines
No EOL
633 B
TypeScript
27 lines
No EOL
633 B
TypeScript
import type { Key as WaraduKey, useKeyboard } from '@waradu/keyboard';
|
|
|
|
declare module '#app' {
|
|
interface NuxtApp {
|
|
$keyboard: {
|
|
listen: ReturnType<typeof useKeyboard>['listen'];
|
|
init: ReturnType<typeof useKeyboard>['init'];
|
|
Key: typeof WaraduKey;
|
|
currentOS: string;
|
|
clearAll: () => void;
|
|
};
|
|
}
|
|
}
|
|
|
|
declare module 'vue' {
|
|
interface ComponentCustomProperties {
|
|
$keyboard: {
|
|
listen: ReturnType<typeof useKeyboard>['listen'];
|
|
init: ReturnType<typeof useKeyboard>['init'];
|
|
Key: typeof WaraduKey;
|
|
currentOS: string;
|
|
clearAll: () => void;
|
|
};
|
|
}
|
|
}
|
|
|
|
export {}; |