avoid more implicit any and some 💄

This commit is contained in:
Benjamin Pasero
2017-09-04 11:20:09 +02:00
parent 7712905526
commit bef497ff82
114 changed files with 282 additions and 296 deletions

View File

@@ -279,7 +279,7 @@ export interface MainThreadQuickOpenShape extends IDisposable {
export interface MainThreadStatusBarShape extends IDisposable {
$setEntry(id: number, extensionId: string, text: string, tooltip: string, command: string, color: string | ThemeColor, alignment: MainThreadStatusBarAlignment, priority: number): void;
$dispose(id: number);
$dispose(id: number): void;
}
export interface MainThreadStorageShape extends IDisposable {
@@ -298,7 +298,7 @@ export interface MainThreadWorkspaceShape extends IDisposable {
$applyWorkspaceEdit(edits: IResourceEdit[]): TPromise<boolean>;
$registerFileSystemProvider(handle: number, authority: string): void;
$unregisterFileSystemProvider(handle): void;
$unregisterFileSystemProvider(handle: number): void;
$onFileSystemChange(handle: number, resource: URI): void;
$updateSearchSession(session: number, data): void;
$finishSearchSession(session: number, err?: any): void;
@@ -379,7 +379,7 @@ export interface ExtHostCommandsShape {
}
export interface ExtHostConfigurationShape {
$acceptConfigurationChanged(data: IConfigurationData<any>);
$acceptConfigurationChanged(data: IConfigurationData<any>): void;
}
export interface ExtHostDiagnosticsShape {
@@ -461,7 +461,7 @@ export interface FileSystemEvents {
deleted: URI[];
}
export interface ExtHostFileSystemEventServiceShape {
$onFileEvent(events: FileSystemEvents);
$onFileEvent(events: FileSystemEvents): void;
}
export interface ObjectIdentifier {