From bfc659feeec44920e4141f622c5c6779f6ee5830 Mon Sep 17 00:00:00 2001 From: Matteo Boschi Date: Fri, 29 Jan 2021 12:36:35 +0100 Subject: [PATCH] [#176575256] restore --- ts/utils/pot.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ts/utils/pot.ts b/ts/utils/pot.ts index 2cf5ef7c70e..049c96544ed 100644 --- a/ts/utils/pot.ts +++ b/ts/utils/pot.ts @@ -1,5 +1,4 @@ import * as pot from "italia-ts-commons/lib/pot"; // return true if pot is some and not someError and not someLoading -export const isStrictSome = (p: pot.Pot): p is Some => - p.kind === "PotSome"; +export const isStrictSome = (p: pot.Pot) => p.kind === "PotSome";