mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Remove and deprecate status-bar (#20727)
This commit is contained in:
@@ -1 +0,0 @@
|
||||
***NOTE:*** *This package is deprecated and new versions have been merged into [`@types/atom`](https://www.npmjs.com/package/@types/atom). The most recent version can be accessed as part of the `Atom.Services` namespace.*
|
||||
Vendored
-33
@@ -1,33 +0,0 @@
|
||||
// Type definitions for status-bar
|
||||
// Project: https://github.com/atom/status-bar
|
||||
// Definitions by: vvakame <https://github.com/vvakame>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
/// <reference types="space-pen" />
|
||||
/// <reference types="text-buffer/v0" />
|
||||
|
||||
declare namespace StatusBar {
|
||||
interface IStatusBarViewStatic {
|
||||
content():any;
|
||||
|
||||
new(...args:any[]):IStatusBarView;
|
||||
}
|
||||
|
||||
interface IStatusBarView extends View {
|
||||
|
||||
initialize():any;
|
||||
attach():any;
|
||||
destroy():any;
|
||||
appendLeft(view:View):any;
|
||||
prependLeft(view:View):any;
|
||||
appendRight(view:View):any;
|
||||
prependRight(view:View):any;
|
||||
getActiveBuffer():TextBuffer.ITextBuffer;
|
||||
getActiveItem():any;
|
||||
storeActiveBuffer():TextBuffer.ITextBuffer;
|
||||
subscribeToBuffer(event:string, callback:Function):any;
|
||||
subscribeAllToBuffer():any[];
|
||||
unsubscribeAllFromBuffer():any[];
|
||||
}
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
|
||||
|
||||
declare var StatusBarView:StatusBar.IStatusBarViewStatic;
|
||||
|
||||
StatusBarView.content();
|
||||
|
||||
var statusBar = new StatusBarView();
|
||||
statusBar.appendLeft(new View());
|
||||
@@ -1,24 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6",
|
||||
"dom"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": false,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"status-bar-tests.ts"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user