Skip to content

Commit 109ed70

Browse files
committed
🚨 (dev): Update type for ColorArray
1 parent bb55021 commit 109ed70

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/script/Background.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,20 +68,20 @@ export default class Background {
6868
//#endregion
6969

7070
// #region Constants
71-
static readonly COLOR_BLUE = [66, 133, 244, 255] as chrome.action.ColorArray;
72-
static readonly COLOR_BLUE_VIOLET = [138, 43, 226, 255] as chrome.action.ColorArray;
73-
static readonly COLOR_FOREST_GREEN = [34, 139, 34, 255] as chrome.action.ColorArray;
74-
static readonly COLOR_GREY = [85, 85, 85, 255] as chrome.action.ColorArray;
75-
static readonly COLOR_ORANGE = [236, 147, 41, 255] as chrome.action.ColorArray;
76-
static readonly COLOR_RED = [211, 45, 39, 255] as chrome.action.ColorArray;
71+
static readonly COLOR_BLUE = [66, 133, 244, 255] as chrome.extensionTypes.ColorArray;
72+
static readonly COLOR_BLUE_VIOLET = [138, 43, 226, 255] as chrome.extensionTypes.ColorArray;
73+
static readonly COLOR_FOREST_GREEN = [34, 139, 34, 255] as chrome.extensionTypes.ColorArray;
74+
static readonly COLOR_GREY = [85, 85, 85, 255] as chrome.extensionTypes.ColorArray;
75+
static readonly COLOR_ORANGE = [236, 147, 41, 255] as chrome.extensionTypes.ColorArray;
76+
static readonly COLOR_RED = [211, 45, 39, 255] as chrome.extensionTypes.ColorArray;
7777
static readonly BADGE_COLORS = [
7878
this.COLOR_GREY,
7979
this.COLOR_BLUE,
8080
this.COLOR_RED,
8181
this.COLOR_RED,
8282
this.COLOR_BLUE_VIOLET,
8383
this.COLOR_FOREST_GREEN,
84-
] as chrome.action.ColorArray[];
84+
] as chrome.extensionTypes.ColorArray[];
8585
static readonly log = new Logger('Background', this.Constants.LOGGING_LEVELS.INFO);
8686
// #endregion
8787

0 commit comments

Comments
 (0)