Remove and deprecate status-bar (#20727)

This commit is contained in:
Andy
2017-10-23 14:56:37 -07:00
committed by Sheetal Nandi
parent d756fdf1a3
commit c05fef4faf
4 changed files with 0 additions and 66 deletions
-1
View File
@@ -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.*
-33
View File
@@ -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[];
}
}
-8
View File
@@ -1,8 +0,0 @@
declare var StatusBarView:StatusBar.IStatusBarViewStatic;
StatusBarView.content();
var statusBar = new StatusBarView();
statusBar.appendLeft(new View());
-24
View File
@@ -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"
]
}