mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-20 01:25:37 -05:00
Add IconPath type (#14420)
* Add IconPath type * Add ThemedIconPath subtype * Update type
This commit is contained in:
5
src/sql/azdata.d.ts
vendored
5
src/sql/azdata.d.ts
vendored
@@ -3180,11 +3180,14 @@ declare module 'azdata' {
|
||||
CSSStyles?: { [key: string]: string };
|
||||
}
|
||||
|
||||
export type ThemedIconPath = { light: string | vscode.Uri; dark: string | vscode.Uri };
|
||||
export type IconPath = string | vscode.Uri | ThemedIconPath;
|
||||
|
||||
export interface ComponentWithIcon {
|
||||
/**
|
||||
* @deprecated This will be moved to `ComponentWithIconProperties`
|
||||
*/
|
||||
iconPath?: string | vscode.Uri | { light: string | vscode.Uri; dark: string | vscode.Uri };
|
||||
iconPath?: IconPath;
|
||||
/**
|
||||
* @deprecated This will be moved to `ComponentWithIconProperties`
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user