mirror of
https://github.com/xlorepdarkhelm/numinar-coding-project.git
synced 2026-09-06 05:58:25 -04:00
8 lines
287 B
TypeScript
8 lines
287 B
TypeScript
|
|
export declare function calculateNewValue(newEntry: string, element: HTMLElement, value?: string, selectionRange?: {
|
||
|
|
selectionStart: number | null;
|
||
|
|
selectionEnd: number | null;
|
||
|
|
}, deleteContent?: 'backward' | 'forward'): {
|
||
|
|
newValue: string;
|
||
|
|
newSelectionStart: number;
|
||
|
|
};
|