Explict imports & exports with type modifier (#3774)

This commit is contained in:
Pascal Birchler
2025-08-26 00:04:53 +02:00
committed by GitHub
parent 71c090c696
commit 0f031a7f89
332 changed files with 1086 additions and 1105 deletions

View File

@@ -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.