Skip to content

Commit 23208f2

Browse files
authored
fix: Fixed Ace typings
Fix typings
2 parents 416ae9e + 683394b commit 23208f2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ace.d.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export namespace Ace {
216216
wrapBehavioursEnabled: boolean;
217217
enableAutoIndent: boolean;
218218
autoScrollEditorIntoView: boolean;
219-
keyboardHandler: string;
219+
keyboardHandler: string | null;
220220
placeholder: string;
221221
value: string;
222222
session: EditSession;
@@ -245,6 +245,7 @@ export namespace Ace {
245245
off(name: string, callback: Function): void;
246246
removeListener(name: string, callback: Function): void;
247247
removeEventListener(name: string, callback: Function): void;
248+
removeAllListeners(name?: string): void;
248249
}
249250

250251
export interface Point {
@@ -280,7 +281,7 @@ export namespace Ace {
280281
}
281282

282283
export interface MarkerLike {
283-
range: Range;
284+
range?: Range;
284285
type: string;
285286
renderer?: MarkerRenderer;
286287
clazz: string;

0 commit comments

Comments
 (0)