fix: add type-narrowing for subEntities wrapped in Maybe
type Foo = {
foo: Maybe<{bar: string; baz: string}>;
}
type foo_narrowed = NarrowedEntity<Foo, {
foo: { bar: 1 } // this works now
}>:
Edited by Philipp Heinz
type Foo = {
foo: Maybe<{bar: string; baz: string}>;
}
type foo_narrowed = NarrowedEntity<Foo, {
foo: { bar: 1 } // this works now
}>: