diff --git a/app/common/gristTypes.ts b/app/common/gristTypes.ts index 1f6e10c2..7e63270a 100644 --- a/app/common/gristTypes.ts +++ b/app/common/gristTypes.ts @@ -170,7 +170,7 @@ const rightType: {[key in GristType]: (value: CellValue) => boolean} = { } }; -export function isRightType(type: string): undefined | ((value: CellValue) => boolean) { +export function isRightType(type: string): undefined | ((value: CellValue, options?: any) => boolean) { return rightType[type as GristType]; }