Skip to content

Commit

Permalink
Merge pull request #652 from marcusteh1238/master
Browse files Browse the repository at this point in the history
fix: match color style type to that in google api
  • Loading branch information
theoephraim committed Sep 14, 2023
2 parents a4633ab + fce1605 commit 8ba5c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/types/sheets-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ export type DataFilterWithoutWorksheetId = A1Range | GridRangeWithoutWorksheetId


/** @see https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/other#colorstyle */
export type ColorStyle = { Color: Color } | { themeColor: ThemeColorType };
export type ColorStyle = { rgbColor: Color } | { themeColor: ThemeColorType };
/** @see https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/other#Color */
export type Color = {
red: number,
Expand Down

0 comments on commit 8ba5c22

Please sign in to comment.