Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ export declare enum FormulaType {
}

export type CellValue =
| null | number | string | boolean | Date
| null | number | string | boolean | Date | undefined
| CellErrorValue
| CellRichTextValue | CellHyperlinkValue
| CellFormulaValue | CellSharedFormulaValue;
Expand Down Expand Up @@ -1075,6 +1075,9 @@ export interface DataBarRuleType extends ConditionalFormattingBaseRule {
export type ConditionalFormattingRule = ExpressionRuleType | CellIsRuleType | Top10RuleType | AboveAverageRuleType | ColorScaleRuleType | IconSetRuleType
| ContainsTextRuleType | TimePeriodRuleType | DataBarRuleType;


export type RowValues = CellValue[] | { [key: string]: CellValue } | undefined | null;

export interface ConditionalFormattingOptions {
ref: string;
rules: ConditionalFormattingRule[];
Expand Down Expand Up @@ -1234,7 +1237,7 @@ export interface Worksheet {
/**
* return all rows as sparse array
*/
getSheetValues(): Row[];
getSheetValues(): RowValues[];

/**
* returns the cell at [r,c] or address given by r. If not found, return undefined
Expand Down