mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-13 19:48:37 -05:00
Merge from vscode 2b0b9136329c181a9e381463a1f7dc3a2d105a34 (#4880)
This commit is contained in:
@@ -176,7 +176,7 @@ export abstract class Composite extends Component implements IComposite {
|
||||
/**
|
||||
* Provide a context to be passed to the toolbar.
|
||||
*/
|
||||
getActionsContext(): any {
|
||||
getActionsContext(): unknown {
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -210,10 +210,10 @@ export abstract class Composite extends Component implements IComposite {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the underlying composite control or null if it is not accessible.
|
||||
* Returns the underlying composite control or `undefined` if it is not accessible.
|
||||
*/
|
||||
getControl(): ICompositeControl | null {
|
||||
return null;
|
||||
getControl(): ICompositeControl | undefined {
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -257,7 +257,7 @@ export abstract class CompositeRegistry<T extends Composite> extends Disposable
|
||||
|
||||
protected deregisterComposite(id: string): void {
|
||||
const descriptor = this.compositeById(id);
|
||||
if (descriptor === null) {
|
||||
if (!descriptor) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user