From 61515daf7f787798ff4d558bfcb3bbcb7bce43b2 Mon Sep 17 00:00:00 2001 From: "ben.durrant" Date: Tue, 16 May 2023 22:34:44 +0100 Subject: [PATCH] update comment with TS issue --- src/types/actions.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/actions.ts b/src/types/actions.ts index fc85200187..39313115c0 100644 --- a/src/types/actions.ts +++ b/src/types/actions.ts @@ -14,8 +14,8 @@ * * @template T the type of the action's `type` tag. */ -// things break if this is an interface #justtypescriptthings -// https://tsplay.dev/wj8X6m +// this needs to be a type, not an interface +// https://github.com/microsoft/TypeScript/issues/15300 export type Action = { type: T }