Skip to content

Commit cc47699

Browse files
committed
resolve merge conflicts
1 parent bd7c3ed commit cc47699

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ace-internal.d.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,8 @@ export namespace Ace {
940940
callback: CompleterCallback): void;
941941

942942
getDocTooltip?(item: Completion): void | string | Completion;
943-
943+
onSeen?: (editor: Ace.Editor, completion: Completion) => void;
944+
onInsert?: (editor: Ace.Editor, completion: Completion) => void;
944945
cancel?(): void;
945946

946947
id?: string;

src/autocomplete.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var event = require("./lib/event");
2828
* @property {string} [command] - A command to be executed after the completion is inserted (experimental)
2929
* @property {string} [snippet] - a text snippet that would be inserted when the completion is selected
3030
* @property {string} [value] - The text that would be inserted when selecting this completion.
31-
* @property {{insertMatch:(editor: Editor, data: Completion) => void}} [completer]
31+
* @property {import("../ace-internal").Ace.Completer & {insertMatch:(editor: Editor, data: Completion) => void}} [completer]
3232
* @property {boolean} [hideInlinePreview]
3333
* @export
3434
*/

0 commit comments

Comments
 (0)