Thanks to visit codestin.com
Credit goes to github.com

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
26 changes: 20 additions & 6 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ export interface CellModel {
text?: string;
hyperlink?: string;
value?: CellValue;
master: Cell;
master: string;
formula?: string;
sharedFormula?: string;
result?: string | number | any;
Expand All @@ -407,7 +407,7 @@ export interface Cell extends Style, Address {
readonly text: string;
readonly fullAddress: {
sheetName: string;
address: Address;
address: string;
row: Row;
col: Column;
};
Expand Down Expand Up @@ -614,9 +614,22 @@ export interface Column {
* Column letter key
*/
readonly letter: string;
}
readonly number: number;
readonly worksheet: Worksheet;
readonly isCustomWidth: boolean;
readonly headers: string[];
readonly isDefault: boolean;
readonly headerCount: number;
border: Partial<Borders>;
fill: Fill;
numFmt: string
font: Partial<Font>;
alignment: Partial<Alignment>;
protection: Partial<Protection>;

toString(): string
equivalentTo(other: Column): boolean

export interface ColumnExtension extends Partial<Style> {
/**
* indicate the collapsed state based on outlineLevel
*/
Expand All @@ -631,8 +644,9 @@ export interface ColumnExtension extends Partial<Style> {
* Iterate over all current cells in this column including empty cells
*/
eachCell(opt: { includeEmpty: boolean }, callback: (cell: Cell, rowNumber: number) => void): void;
}

defn: any; //todo
}
export interface PageSetup {
/**
* Whitespace on the borders of the page. Units are inches.
Expand Down Expand Up @@ -1016,7 +1030,7 @@ export interface Worksheet {
/**
* Access an individual columns by key, letter and 1-based column number
*/
getColumn(indexOrKey: number | string): Partial<Column> & ColumnExtension;
getColumn(indexOrKey: number | string): Partial<Column>;

/**
* Cut one or more columns (columns to the right are shifted left)
Expand Down