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";