Skip to content

Commit

Permalink
Update format.ts to add FORMULA type
Browse files Browse the repository at this point in the history
  • Loading branch information
ilavloki authored May 14, 2024
1 parent c2ac7e1 commit 59e9a7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/format.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export enum CellTypes {
NUMBER = 'n',
DATE = 'd',
BOOLEAN = 'b',
FORMULA = 'str',
}

// Constants for cell patterns
Expand Down Expand Up @@ -47,6 +48,7 @@ export const PredefinedFormat : CellFormats = {
TEXT: { type: CellTypes.TEXT, pattern: CellPatterns.TEXT },

BOOLEAN: { type: CellTypes.BOOLEAN },
FORMULA: { type: CellTypes.FORMULA },
}

export interface FormatDefinition {
Expand Down

0 comments on commit 59e9a7c

Please sign in to comment.