mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-22 01:37:50 +00:00
Explict imports & exports with type modifier (#3774)
This commit is contained in:
@@ -5,13 +5,10 @@
|
||||
*/
|
||||
|
||||
import { useEffect } from 'react';
|
||||
import {
|
||||
useKeypressContext,
|
||||
KeypressHandler,
|
||||
Key,
|
||||
} from '../contexts/KeypressContext.js';
|
||||
import type { KeypressHandler, Key } from '../contexts/KeypressContext.js';
|
||||
import { useKeypressContext } from '../contexts/KeypressContext.js';
|
||||
|
||||
export { Key };
|
||||
export type { Key };
|
||||
|
||||
/**
|
||||
* A hook that listens for keypress events from stdin.
|
||||
|
||||
Reference in New Issue
Block a user