From aaef3e30fffcfcab12e16c83f896ced9595ab17c Mon Sep 17 00:00:00 2001 From: hiroki osame Date: Tue, 7 Feb 2023 01:08:24 -0500 Subject: [PATCH] Fix `Simplify` to actually expand type-hints (#553) --- source/simplify.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/simplify.d.ts b/source/simplify.d.ts index 275ec6a9..a456364d 100644 --- a/source/simplify.d.ts +++ b/source/simplify.d.ts @@ -55,4 +55,4 @@ fn(someInterface as Simplify); // Good: transform an `interface` @category Object */ -export type Simplify = {[KeyType in keyof T]: T[KeyType]}; +export type Simplify = {[KeyType in keyof T]: T[KeyType]} & {};