mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 18:26:05 +08:00
refactor(editor): remove dependency of command global types (#9903)
Closes: [BS-2216](https://linear.app/affine-design/issue/BS-2216/remove-global-types-in-command)
This commit is contained in:
@@ -21,13 +21,3 @@ export {
|
||||
getTextSelectionCommand,
|
||||
type SelectionRect,
|
||||
} from './selection/index.js';
|
||||
|
||||
declare global {
|
||||
namespace BlockSuite {
|
||||
// if we use `with` or `inline` to add command data either then use a command we
|
||||
// need to update this interface
|
||||
interface CommandContext {
|
||||
currentSelectionPath?: string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user