diff --git a/src/utils/types.ts b/src/utils/types.ts index 1bcab64..e1bae8a 100644 --- a/src/utils/types.ts +++ b/src/utils/types.ts @@ -1,3 +1,3 @@ /** https://github.com/Microsoft/TypeScript/issues/29729 */ // eslint-disable-next-line @typescript-eslint/ban-types -export type LiteralUnion = T | (U & {}); +export type LiteralUnion = T | (U & Record);