mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-07 02:30:12 +00:00
added properties.
workstream:
This commit is contained in:
3
types/codemirror/codemirror-tern.d.ts
vendored
3
types/codemirror/codemirror-tern.d.ts
vendored
@@ -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