mirror of
https://github.com/supabase/supabase.git
synced 2026-07-07 00:34:33 +08:00
docs: clarify strictNullChecks required for MergeDeep usage (#22012)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
This commit is contained in:
@@ -125,6 +125,12 @@ export type Database = MergeDeep<
|
||||
>
|
||||
```
|
||||
|
||||
<Admonition type="note">
|
||||
|
||||
To use `MergeDeep`, set `compilerOptions.strictNullChecks` to `true` in your `tsconfig.json`.
|
||||
|
||||
</Admonition>
|
||||
|
||||
You can also override the type of an individual successful response if needed:
|
||||
|
||||
```ts
|
||||
|
||||
Reference in New Issue
Block a user