mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
improve atom/atom.d.ts and others. add status-bar/status-bar.d.ts.
This commit is contained in:
Vendored
+4
-1
@@ -8,6 +8,7 @@
|
||||
/// <reference path="../space-pen/space-pen.d.ts" />
|
||||
/// <reference path="../emissary/emissary.d.ts" />
|
||||
/// <reference path="../text-buffer/text-buffer.d.ts" />
|
||||
/// <reference path="../status-bar/status-bar.d.ts" />
|
||||
|
||||
// Policy: this definition file only declare element related to `atom`.
|
||||
// if js file include to another npm package (e.g. "space-pen", "mixto" and "emissary").
|
||||
@@ -87,6 +88,8 @@ declare module AtomCore {
|
||||
command(eventName:string, selector:Function, handler:Function):any;
|
||||
command(eventName:string, options:any, handler:Function):any;
|
||||
command(eventName:string, selector:Function, options:any, handler:Function):any;
|
||||
|
||||
statusBar:StatusBar.IStatusBarView;
|
||||
}
|
||||
|
||||
interface IPanes {
|
||||
@@ -661,7 +664,7 @@ declare module AtomCore {
|
||||
getSelectionsOrderedByBufferPosition():ISelection[];
|
||||
getLastSelectionInBuffer():ISelection;
|
||||
selectionIntersectsBufferRange(bufferRange:any):any;
|
||||
setCursorScreenPosition(position:any, options:any):any;
|
||||
setCursorScreenPosition(position:any, options?:any):any;
|
||||
getCursorScreenPosition():TextBuffer.IPoint;
|
||||
getCursorScreenRow():number;
|
||||
setCursorBufferPosition(position:any, options:any):any;
|
||||
|
||||
Reference in New Issue
Block a user