Skip to content

Commit

Permalink
fix: Fixed Ace typings
Browse files Browse the repository at this point in the history
Fix typings
  • Loading branch information
andrewnester authored Aug 4, 2022
2 parents 416ae9e + 683394b commit 23208f2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ace.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export namespace Ace {
wrapBehavioursEnabled: boolean;
enableAutoIndent: boolean;
autoScrollEditorIntoView: boolean;
keyboardHandler: string;
keyboardHandler: string | null;
placeholder: string;
value: string;
session: EditSession;
Expand Down Expand Up @@ -245,6 +245,7 @@ export namespace Ace {
off(name: string, callback: Function): void;
removeListener(name: string, callback: Function): void;
removeEventListener(name: string, callback: Function): void;
removeAllListeners(name?: string): void;
}

export interface Point {
Expand Down Expand Up @@ -280,7 +281,7 @@ export namespace Ace {
}

export interface MarkerLike {
range: Range;
range?: Range;
type: string;
renderer?: MarkerRenderer;
clazz: string;
Expand Down

0 comments on commit 23208f2

Please sign in to comment.