mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-08 01:28:26 -05:00
Return BindingType directly from promptForBindingType (#19200)
* Return BindingType directly from promptForBindingType * align * Fix tests * fix compile
This commit is contained in:
@@ -22,7 +22,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<IExten
|
||||
addSqlBinding: async (bindingType: BindingType, filePath: string, functionName: string, objectName: string, connectionStringSetting: string): Promise<ResultStatus> => {
|
||||
return addSqlBinding(bindingType, filePath, functionName, objectName, connectionStringSetting);
|
||||
},
|
||||
promptForBindingType: async (): Promise<(vscode.QuickPickItem & { type: BindingType }) | undefined> => {
|
||||
promptForBindingType: async (): Promise<BindingType | undefined> => {
|
||||
return promptForBindingType();
|
||||
},
|
||||
promptForObjectName: async (bindingType: BindingType): Promise<string | undefined> => {
|
||||
|
||||
Reference in New Issue
Block a user