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 44
55import { takeStores } from "./stores.ts" ;
66import { Cursor } from "./cursor.d.ts" ;
7+ export type { Cursor } ;
78
89export const takeCursor = ( ) : Cursor => takeStores ( ) . cursor ;
Original file line number Diff line number Diff line change 44
55import { takeStores } from "./stores.ts" ;
66import { Selection } from "./selection.d.ts" ;
7+ export type { Selection } ;
78
89export const takeSelection = ( ) : Selection => takeStores ( ) . selection ;
Original file line number Diff line number Diff line change 55import { textInput } from "./dom.ts" ;
66import { Cursor } from "./cursor.d.ts" ;
77import { Selection } from "./selection.d.ts" ;
8+ export type { Cursor , Selection } ;
89
910export const takeStores = ( ) : { cursor : Cursor ; selection : Selection } => {
1011 const textarea = textInput ( ) ;
You can’t perform that action at this time.
0 commit comments