mirror of
https://github.com/flarum/framework.git
synced 2025-01-10 21:35:38 +08:00
c3a684c7ed
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
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;
|