From ed4f295ba99dbe979976d59896869a8a606ce62b Mon Sep 17 00:00:00 2001 From: xaviergonz Date: Wed, 10 Jul 2024 18:25:48 +0200 Subject: [PATCH] fix compilation --- apps/benchmark/src/models/mst.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/benchmark/src/models/mst.ts b/apps/benchmark/src/models/mst.ts index d8c80853..cb1cb90a 100644 --- a/apps/benchmark/src/models/mst.ts +++ b/apps/benchmark/src/models/mst.ts @@ -38,10 +38,10 @@ export const mstSmallModel = types export const mstBigModel = types .model("BigModel", { - aa: types.optional(mstSmallModel, () => {}), - bb: types.optional(mstSmallModel, () => {}), - cc: types.optional(mstSmallModel, () => {}), - dd: types.optional(mstSmallModel, () => {}), + aa: types.optional(mstSmallModel, () => ({})), + bb: types.optional(mstSmallModel, () => ({})), + cc: types.optional(mstSmallModel, () => ({})), + dd: types.optional(mstSmallModel, () => ({})), a: "a", b: "b", c: "c",