Skip to content

Commit 2db9d4e

Browse files
committedApr 25, 2023
fix: remove '$' fields for types that don't require exposing them
1 parent 1e7b022 commit 2db9d4e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed
 

‎ace.d.ts

-6
Original file line numberDiff line numberDiff line change
@@ -380,10 +380,6 @@ export namespace Ace {
380380
export type KeywordMapper = (keyword: string) => string;
381381

382382
export interface HighlightRules {
383-
$rules: HighlightRulesMap;
384-
$embeds?: string[];
385-
$keywordList?: string[];
386-
$keywords?: KeywordMapper;
387383
addRules(rules: HighlightRulesMap, prefix?: string): void;
388384
getRules(): HighlightRulesMap;
389385
embedRules(rules: (new () => HighlightRules) | HighlightRulesMap, prefix: string, escapeRules?: boolean, append?: boolean): void;
@@ -406,7 +402,6 @@ export namespace Ace {
406402
type BehaviorMap = Record<string, Record<string, BehaviorAction>>;
407403

408404
export interface Behaviour {
409-
$behaviours: BehaviorMap;
410405
add(name: string, action: string, callback: BehaviorAction): void;
411406
addBehaviours(behaviours: BehaviorMap): void;
412407
remove(name: string): void;
@@ -417,7 +412,6 @@ export namespace Ace {
417412
export interface Outdent {
418413
checkOutdent(line: string, input: string): boolean;
419414
autoOutdent(doc: Document, row: number): number | undefined;
420-
$getIndent(line: string): string;
421415
}
422416

423417
export interface SyntaxMode {

0 commit comments

Comments
 (0)
Please sign in to comment.