Hi! I have the following code:
https://www.typescriptlang.org/play?ts=5.2.2#code/JYOwLgpgTgZghgYwgAgGIHsoFtkG8BQyRyIEAzpACYBcehxRMwEANjSQK5YBG09RAX3xD8CdCArIOZCBmzIAvMgA8ASTIBRSsDDIIAD0ghKZZN3ToWEOCAB8AChiYstdVp17DEY6bBQOKAD8aM7ItAAKcFBgwHAsynJYtgA0yMCa2mCuGToAlIq2dAzAMMj26e5g+QQMDE7YAHSkFBCUDUyslPzIQgJAA
currently the following code gets me a warning inside the condition because the compiler cannot resolve that the form type inside the condition should be a Form and not a Partial<Form>, is there any way to make this work?
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.