From 5dc2d9d1daf45712c60239be1e4387d2b47e9b82 Mon Sep 17 00:00:00 2001 From: clo Date: Thu, 24 Jul 2025 20:43:30 -0700 Subject: [PATCH] Delete test.ts --- test.ts | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 test.ts diff --git a/test.ts b/test.ts deleted file mode 100644 index 77ad056..0000000 --- a/test.ts +++ /dev/null @@ -1,20 +0,0 @@ -const option = collectionDetails - .fields - .find( - (field): field is { type: "Option", slug: string, validations: WebflowValidations["Option"] } => - field.slug === fieldData.path - )! - .validations; - - if (fieldData.type -"Option" && typeof rawValue -"string") -return ( -( -collectionDetails.fields. find (predicate: (field) ⇒ field.slug -| WebflowValidations["Option"] -| undefined -fieldData.path) ?. validations as -)?. options.find(predicate: (option) ⇒ option.id -rawValue) ?. name ?? fullMatch -);