Skip to content

Commit

Permalink
fix: remove '$' fields for types that don't require exposing them
Browse files Browse the repository at this point in the history
  • Loading branch information
ibabanov-aws committed Apr 25, 2023
1 parent 1e7b022 commit 2db9d4e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ace.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -380,10 +380,6 @@ export namespace Ace {
export type KeywordMapper = (keyword: string) => string;

export interface HighlightRules {
$rules: HighlightRulesMap;
$embeds?: string[];
$keywordList?: string[];
$keywords?: KeywordMapper;
addRules(rules: HighlightRulesMap, prefix?: string): void;
getRules(): HighlightRulesMap;
embedRules(rules: (new () => HighlightRules) | HighlightRulesMap, prefix: string, escapeRules?: boolean, append?: boolean): void;
Expand All @@ -406,7 +402,6 @@ export namespace Ace {
type BehaviorMap = Record<string, Record<string, BehaviorAction>>;

export interface Behaviour {
$behaviours: BehaviorMap;
add(name: string, action: string, callback: BehaviorAction): void;
addBehaviours(behaviours: BehaviorMap): void;
remove(name: string): void;
Expand All @@ -417,7 +412,6 @@ export namespace Ace {
export interface Outdent {
checkOutdent(line: string, input: string): boolean;
autoOutdent(doc: Document, row: number): number | undefined;
$getIndent(line: string): string;
}

export interface SyntaxMode {
Expand Down

0 comments on commit 2db9d4e

Please sign in to comment.