0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-20 22:12:38 -05:00

fix: mark data keys as optional until we have type inference

This commit is contained in:
bholmesdev 2024-02-02 16:08:58 -05:00
parent ded1e0f0b6
commit e863632ebf

View file

@ -166,7 +166,7 @@ export type DBDataContext = {
string,
/** TODO: true type inference */ Record<
Extract<keyof TFields, string>,
FieldsConfig[number]
FieldsConfig[number] & { optional: true }
>
>
>