From 2db9d4e88441f2932ce6c6f91e7f5ed36c590d2f Mon Sep 17 00:00:00 2001 From: Ilia Babanov Date: Tue, 25 Apr 2023 14:27:57 +0000 Subject: [PATCH] fix: remove '$' fields for types that don't require exposing them --- ace.d.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ace.d.ts b/ace.d.ts index 5a56b810a8b..d0b950e4e4c 100644 --- a/ace.d.ts +++ b/ace.d.ts @@ -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; @@ -406,7 +402,6 @@ export namespace Ace { type BehaviorMap = Record>; export interface Behaviour { - $behaviours: BehaviorMap; add(name: string, action: string, callback: BehaviorAction): void; addBehaviours(behaviours: BehaviorMap): void; remove(name: string): void; @@ -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 {