mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-24 22:09:08 +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:
@@ -50,13 +50,5 @@ export class HighlightSelection extends BaseSelection {
|
||||
}
|
||||
}
|
||||
|
||||
declare global {
|
||||
namespace BlockSuite {
|
||||
interface Selection {
|
||||
highlight: typeof HighlightSelection;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export const HighlightSelectionExtension =
|
||||
SelectionExtension(HighlightSelection);
|
||||
|
||||
Reference in New Issue
Block a user