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:
parent
ded1e0f0b6
commit
e863632ebf
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ export type DBDataContext = {
|
|||
string,
|
||||
/** TODO: true type inference */ Record<
|
||||
Extract<keyof TFields, string>,
|
||||
FieldsConfig[number]
|
||||
FieldsConfig[number] & { optional: true }
|
||||
>
|
||||
>
|
||||
>
|
||||
|
|
Loading…
Add table
Reference in a new issue