mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
initial commit for tern addon typings. still WIP.
workstream:
This commit is contained in:
parent
0553880908
commit
9c72aa7b89
3
types/codemirror/codemirror-tern.d.ts
vendored
3
types/codemirror/codemirror-tern.d.ts
vendored
@ -4,6 +4,7 @@
|
||||
import * as CodeMirror from "codemirror";
|
||||
import * as Tern from "tern";
|
||||
|
||||
|
||||
declare module "codemiror" {
|
||||
|
||||
interface Editor {
|
||||
@ -41,8 +42,10 @@ declare module "codemiror" {
|
||||
|
||||
selectName: (cm: CodeMirror.Editor) => void;
|
||||
|
||||
|
||||
request: (cm: CodeMirror.Editor, query: string | Tern.QueryRegistry[keyof Tern.QueryRegistry]["query"], callback: (error: any, data?: any) => void, pos?: CodeMirror.Position) => void;
|
||||
|
||||
|
||||
destroy: () => void;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user