Skip to content

Precompiled 2025-01-22-ad7d0df

Compare
Choose a tag to compare
@github-actions github-actions released this 22 Jan 00:52
· 99 commits to main since this release
Fix FieldTypeFromFieldPath type (#33352)

Later versions of TypeScript struggle to realize that `FieldTypeFromFieldPath` should always be a subtype of `Value | undefined`, which was causing type errors around `Expression<FieldTypeFromFieldPath<...>>`

As a quick fix, I wrapped this type in a conditional which more clearly coerces it to be `Value | undefined`.

GitOrigin-RevId: 0c70997fd3c3ceba0fc2ebd7af12352e4eb5942c