const largeDefaultValues: LargeType = { // a lot of different types and nesting // we provided some default values // but some still have null or empty arrays // some are defined to the deepest primitive type};export const largeFormOpts = formOptions({ defaultValues: largeDefaultValues,});const usage = withForm({ ...largeFormOpts, render: //...});
const largeDefaultValues: LargeType = { // a lot of different types and nesting // we provided some default values // but some still have null or empty arrays // some are defined to the deepest primitive type};export const largeFormOpts = formOptions({ defaultValues: largeDefaultValues,});const usage = withForm({ ...largeFormOpts, render: //...});
changes in the IDE became very slow up to 20-30 seconds before TS was done and could show us an error. Is this a known Issue? What should we check to make the type inference fast?
which gave me a TS-error because more arguments are expected but the TS errors in the IDE now popup in less than a second again, so I'm guessing it has something to do with the type inference?