//// [file.tsx]
import * as React from "react";
var a = /*#__PURE__*/ React.createElement(GenericComponent, {
    initialValues: {
        x: "y"
    },
    nextValues: function nextValues(a) {
        return a;
    }
}); // No error
var b = /*#__PURE__*/ React.createElement(GenericComponent, {
    initialValues: 12,
    nextValues: function nextValues(a) {
        return a;
    }
}); // No error - Values should be reinstantiated with `number` (since `object` is a default, not a constraint)
var c = /*#__PURE__*/ React.createElement(GenericComponent, {
    initialValues: {
        x: "y"
    },
    nextValues: function nextValues(a) {
        return {
            x: a.x
        };
    }
}); // No Error
var d = /*#__PURE__*/ React.createElement(GenericComponent, {
    initialValues: {
        x: "y"
    },
    nextValues: function nextValues(a) {
        return a.x;
    }
}); // Error - `string` is not assignable to `{x: string}`
