mirror of
https://github.com/flarum/framework.git
synced 2025-01-11 05:43:40 +08:00
7 lines
261 B
TypeScript
7 lines
261 B
TypeScript
|
export interface SelectionRange {
|
||
|
text: string;
|
||
|
selectionStart: number | undefined;
|
||
|
selectionEnd: number | undefined;
|
||
|
}
|
||
|
export default function insertText(textarea: HTMLTextAreaElement, { text, selectionStart, selectionEnd }: SelectionRange): void;
|