mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
added properties.
workstream:
This commit is contained in:
+3
@@ -13,6 +13,9 @@ import * as Tern from "tern";
|
||||
declare module "codemirror" {
|
||||
|
||||
interface TernServer {
|
||||
readonly options: TernOptions;
|
||||
readonly docs: { readonly [key: string]: CodeMirror.Doc };
|
||||
readonly server: Tern.Server;
|
||||
addDoc(name: string, doc: CodeMirror.Doc): { doc: CodeMirror.Doc, name: string, changed: { from: number, to: number } | null };
|
||||
delDoc(id: string | CodeMirror.Editor | CodeMirror.Doc): void;
|
||||
hideDoc(id: string | CodeMirror.Editor | CodeMirror.Doc): void;
|
||||
|
||||
Reference in New Issue
Block a user