From d058b63ea823b9800a93f1a0e8f3d44cfa5726af Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Tue, 3 Dec 2024 12:23:07 +0000 Subject: [PATCH] Fix types. --- packages/server/src/integrations/utils/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/integrations/utils/utils.ts b/packages/server/src/integrations/utils/utils.ts index 3c0d82db7e..315a8010e8 100644 --- a/packages/server/src/integrations/utils/utils.ts +++ b/packages/server/src/integrations/utils/utils.ts @@ -138,7 +138,7 @@ export function generateColumnDefinition(config: { let { externalType, autocolumn, name, presence, options } = config let foundType = FieldType.STRING const lowerCaseType = externalType.toLowerCase() - let matchingTypes = [] + let matchingTypes: { external: string; internal: PrimitiveTypes }[] = [] // In at least MySQL, the external type of an ENUM column is "enum('option1', // 'option2', ...)", which can potentially contain any type name as a