File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 4
4
5
5
import { takeStores } from "./stores.ts" ;
6
6
import { Cursor } from "./cursor.d.ts" ;
7
+ export type { Cursor } ;
7
8
8
9
export const takeCursor = ( ) : Cursor => takeStores ( ) . cursor ;
Original file line number Diff line number Diff line change 4
4
5
5
import { takeStores } from "./stores.ts" ;
6
6
import { Selection } from "./selection.d.ts" ;
7
+ export type { Selection } ;
7
8
8
9
export const takeSelection = ( ) : Selection => takeStores ( ) . selection ;
Original file line number Diff line number Diff line change 5
5
import { textInput } from "./dom.ts" ;
6
6
import { Cursor } from "./cursor.d.ts" ;
7
7
import { Selection } from "./selection.d.ts" ;
8
+ export type { Cursor , Selection } ;
8
9
9
10
export const takeStores = ( ) : { cursor : Cursor ; selection : Selection } => {
10
11
const textarea = textInput ( ) ;
You can’t perform that action at this time.
0 commit comments