From 59e9a7ccb0d440fa2218f9a40af0454dda511ed3 Mon Sep 17 00:00:00 2001 From: Alexey Ilyin Date: Tue, 14 May 2024 18:26:27 +0300 Subject: [PATCH] Update format.ts to add FORMULA type --- src/format.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/format.ts b/src/format.ts index cb78cbc..416f936 100644 --- a/src/format.ts +++ b/src/format.ts @@ -5,6 +5,7 @@ export enum CellTypes { NUMBER = 'n', DATE = 'd', BOOLEAN = 'b', + FORMULA = 'str', } // Constants for cell patterns @@ -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 {