rerobe-js-orm 2.4.73 → 2.4.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import FormStateFactory from '../FormStateFactory';
|
|
2
2
|
import ProductFormState from '../../../form-states/Product/ProductFormState';
|
|
3
3
|
export default class ProductFormStateFactory extends FormStateFactory {
|
|
4
|
-
createFormState(props?: CompleteProduct): ProductFormState;
|
|
4
|
+
createFormState(props?: CompleteProduct, opts?: any): ProductFormState;
|
|
5
5
|
}
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const FormStateFactory_1 = require("../FormStateFactory");
|
|
4
4
|
const ProductFormState_1 = require("../../../form-states/Product/ProductFormState");
|
|
5
5
|
class ProductFormStateFactory extends FormStateFactory_1.default {
|
|
6
|
-
createFormState(props) {
|
|
7
|
-
return new ProductFormState_1.default(props);
|
|
6
|
+
createFormState(props, opts) {
|
|
7
|
+
return new ProductFormState_1.default(props, opts);
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
exports.default = ProductFormStateFactory;
|