From 3793760ed42f29cf413c220b79afc68a28283f0e Mon Sep 17 00:00:00 2001 From: Christian Alfoni Date: Mon, 30 Mar 2020 12:07:38 +0200 Subject: [PATCH] fix typing --- packages/app/src/app/overmind/namespaces/comments/state.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/app/src/app/overmind/namespaces/comments/state.ts b/packages/app/src/app/overmind/namespaces/comments/state.ts index 79c87abf215..0e49bbd69c8 100644 --- a/packages/app/src/app/overmind/namespaces/comments/state.ts +++ b/packages/app/src/app/overmind/namespaces/comments/state.ts @@ -123,8 +123,8 @@ export const state: State = { } function sortByInsertedAt( - commentA: CommentFragment | null, - commentB: CommentFragment | null + commentA: CommentFragment, + commentB: CommentFragment ) { const aDate = new Date(commentA.insertedAt); const bDate = new Date(commentB.insertedAt);