Skip to content

Commit

Permalink
chore: run generate
Browse files Browse the repository at this point in the history
  • Loading branch information
seawatts committed Feb 6, 2025
1 parent e07593f commit 7f7937d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions integ-tests/react/baml_client/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ $ pnpm add @boundaryml/baml
// biome-ignore format: autogenerated code
import type { Image, Audio } from "@boundaryml/baml"

/**
* Recursively partial type that can be null.
*
* @deprecated Use types from the `partial_types` namespace instead, which provides type-safe partial implementations
* @template T The type to make recursively partial.
*/
export type RecursivePartialNull<T> = T extends object
? { [P in keyof T]?: RecursivePartialNull<T[P]> }
: T | null;
Expand Down
6 changes: 6 additions & 0 deletions integ-tests/typescript/baml_client/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ $ pnpm add @boundaryml/baml
// biome-ignore format: autogenerated code
import type { Image, Audio } from "@boundaryml/baml"

/**
* Recursively partial type that can be null.
*
* @deprecated Use types from the `partial_types` namespace instead, which provides type-safe partial implementations
* @template T The type to make recursively partial.
*/
export type RecursivePartialNull<T> = T extends object
? { [P in keyof T]?: RecursivePartialNull<T[P]> }
: T | null;
Expand Down

0 comments on commit 7f7937d

Please sign in to comment.