mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-20 09:35:38 -05:00
Convert ModelView validate to Promise (#13390)
* Convert ModelView validate to Promise * more cleanup
This commit is contained in:
@@ -42,7 +42,7 @@ export interface IModelView extends IView {
|
||||
refreshDataProvider(componentId: string, item: any): void;
|
||||
registerEvent(componentId: string, initial?: boolean): void;
|
||||
onEvent: Event<IModelViewEventArgs>;
|
||||
validate(componentId: string): Thenable<boolean>;
|
||||
validate(componentId: string): Promise<boolean>;
|
||||
readonly onDestroy: Event<void>;
|
||||
focus(componentId: string): void;
|
||||
doAction(componentId: string, action: string, ...args: any[]): void;
|
||||
|
||||
Reference in New Issue
Block a user