mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-30 05:21:08 +01:00
Remove redundant type annotations for generic emitter properties
Code like: ``` private readonly _onDidEncounterLanguage: Emitter<LanguageId> = new Emitter<LanguageId>(); ``` Does not need to repeat the `Emitter<LanguageId>` type annotation
This commit is contained in:
@@ -505,7 +505,7 @@ export interface IResourceResultsNavigationOptions {
|
||||
|
||||
export class TreeResourceNavigator extends Disposable {
|
||||
|
||||
private readonly _openResource: Emitter<IOpenResourceOptions> = new Emitter<IOpenResourceOptions>();
|
||||
private readonly _openResource = new Emitter<IOpenResourceOptions>();
|
||||
readonly openResource: Event<IOpenResourceOptions> = this._openResource.event;
|
||||
|
||||
constructor(private tree: WorkbenchTree, private options?: IResourceResultsNavigationOptions) {
|
||||
|
||||
Reference in New Issue
Block a user