mirror of
https://github.com/withastro/astro.git
synced 2025-01-27 22:19:04 -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,
|
string,
|
||||||
/** TODO: true type inference */ Record<
|
/** TODO: true type inference */ Record<
|
||||||
Extract<keyof TFields, string>,
|
Extract<keyof TFields, string>,
|
||||||
FieldsConfig[number]
|
FieldsConfig[number] & { optional: true }
|
||||||
>
|
>
|
||||||
>
|
>
|
||||||
>
|
>
|
||||||
|
|
Loading…
Add table
Reference in a new issue