Fix typings files (#17509)

This commit is contained in:
Charles Gagnon
2021-10-27 12:29:00 -07:00
committed by GitHub
parent 7a5ad9f3aa
commit ca20ae4d64
2 changed files with 33 additions and 33 deletions

33
src/sql/azdata.d.ts vendored
View File

@@ -2182,11 +2182,11 @@ declare module 'azdata' {
/** /**
* The token to use * The token to use
*/ */
token: string, token: string;
/** /**
* What type of token this is (such as Bearer) * What type of token this is (such as Bearer)
*/ */
tokenType?: string | undefined tokenType?: string | undefined;
} }
/** /**
@@ -2582,7 +2582,7 @@ declare module 'azdata' {
* @param options Options to configure the editor * @param options Options to configure the editor
* @param name The name used to identify the editor in telemetry * @param name The name used to identify the editor in telemetry
*/ */
export function createModelViewEditor(title: string, options?: ModelViewEditorOptions, name?: string,): ModelViewEditor; export function createModelViewEditor(title: string, options?: ModelViewEditorOptions, name?: string): ModelViewEditor;
export interface ModelViewEditor extends window.ModelViewPanel { export interface ModelViewEditor extends window.ModelViewPanel {
/** /**
@@ -3592,7 +3592,7 @@ declare module 'azdata' {
/** /**
* The file type filter used for the file input dialog box - only used when the button type is File * The file type filter used for the file input dialog box - only used when the button type is File
*/ */
fileType?: string fileType?: string;
} }
export interface LoadingComponentProperties extends ComponentProperties { export interface LoadingComponentProperties extends ComponentProperties {
@@ -4429,6 +4429,31 @@ declare module 'azdata' {
export function getQueryDocument(fileUri: string): Thenable<QueryDocument>; export function getQueryDocument(fileUri: string): Thenable<QueryDocument>;
} }
/**
* Represents the tab of TabbedPanelComponent
*/
export interface Tab {
/**
* Title of the tab
*/
title: string;
/**
* Content component of the tab
*/
content: Component;
/**
* Id of the tab
*/
id: string;
/**
* Icon of the tab
*/
icon?: IconPath;
}
export interface DashboardTab extends Tab { export interface DashboardTab extends Tab {
/** /**
* Toolbar of the tab, optional. * Toolbar of the tab, optional.

View File

@@ -492,31 +492,6 @@ declare module 'azdata' {
alwaysShowTabs?: boolean; alwaysShowTabs?: boolean;
} }
/**
* Represents the tab of TabbedPanelComponent
*/
export interface Tab {
/**
* Title of the tab
*/
title: string;
/**
* Content component of the tab
*/
content: Component;
/**
* Id of the tab
*/
id: string;
/**
* Icon of the tab
*/
icon?: IconPath;
}
/** /**
* Represents the tab group of TabbedPanelComponent * Represents the tab group of TabbedPanelComponent
*/ */