We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26c54c3 commit 4764ef8Copy full SHA for 4764ef8
browser/dom/selection.ts
@@ -0,0 +1,8 @@
1
+/// <reference no-default-lib="true"/>
2
+/// <reference lib="esnext"/>
3
+/// <reference lib="dom" />
4
+
5
+import { takeStores } from "./stores.ts";
6
+import { Selection } from "./selection.d.ts";
7
8
+export const takeSelection = (): Selection => takeStores().selection;
0 commit comments