Type ‘string | null’ is not assignable to type ‘string | undefined’ – sanity, remix and typescript
I am struggling with TypeScript in my Sanity/Remix application when I try to access references. I have a RoleType, where you can create a role and give the role a title and reference it to a Person. The PersonType has a name field that is required.
Type ‘string | null’ is not assignable to type ‘string | undefined’ – sanity, remix and typescript
I am struggling with TypeScript in my Sanity/Remix application when I try to access references. I have a RoleType, where you can create a role and give the role a title and reference it to a Person. The PersonType has a name field that is required.
Type ‘string | null’ is not assignable to type ‘string | undefined’ – sanity, remix and typescript
I am struggling with TypeScript in my Sanity/Remix application when I try to access references. I have a RoleType, where you can create a role and give the role a title and reference it to a Person. The PersonType has a name field that is required.
Type ‘string | null’ is not assignable to type ‘string | undefined’ – sanity, remix and typescript
I am struggling with TypeScript in my Sanity/Remix application when I try to access references. I have a RoleType, where you can create a role and give the role a title and reference it to a Person. The PersonType has a name field that is required.