From 9b54655344d2e7f78b155a39729f9fda5bff2927 Mon Sep 17 00:00:00 2001 From: Alex Mikhalev Date: Fri, 19 Jul 2019 23:59:10 -0600 Subject: [PATCH] Fix list schemas --- common/sprinklersRpc/schema/list.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/sprinklersRpc/schema/list.ts b/common/sprinklersRpc/schema/list.ts index d323e84..053d0d8 100644 --- a/common/sprinklersRpc/schema/list.ts +++ b/common/sprinklersRpc/schema/list.ts @@ -65,7 +65,7 @@ export default function list(propSchema: PropSchema): PropSchema { propSchema.deserializer(item, itemDone, context, undefined), done); }, - beforeDeserialize: () => {}, - afterDeserialize: () => {}, + beforeDeserialize: undefined as any, + afterDeserialize: undefined as any, }; }