Question on Proper Usage of Matcher
Hi, I wonder if I am using the matcher properly. In the following situation:
I was stupidly hoping obj in the second match would have type
I was stupidly hoping obj in the second match would have type
(parameter) obj: {readonly a: string;} but it has type (parameter) obj: {readonly a: number | string;}. How could I get it to have the type I expected?