startdefValidator().stateName('foo');
// Property 'stateName' does not exist on type 'Builder<Startdef>'.
// Property 'stateName' does not exist on type '{ build: () => Startdef; } & string'.
What you expected to happen:
To work without TS complaining.
How to reproduce it:
See What happened
Anything else we need to know?:
Will be fixed in an upcoming PR
What happened:
What you expected to happen: To work without TS complaining.
How to reproduce it: See What happened
Anything else we need to know?: Will be fixed in an upcoming PR