mirror of
https://github.com/sindresorhus/type-fest.git
synced 2025-12-08 19:25:05 +00:00
Fix Simplify to actually expand type-hints (#553)
This commit is contained in:
parent
6f8538c843
commit
aaef3e30ff
2
source/simplify.d.ts
vendored
2
source/simplify.d.ts
vendored
@ -55,4 +55,4 @@ fn(someInterface as Simplify<SomeInterface>); // Good: transform an `interface`
|
||||
|
||||
@category Object
|
||||
*/
|
||||
export type Simplify<T> = {[KeyType in keyof T]: T[KeyType]};
|
||||
export type Simplify<T> = {[KeyType in keyof T]: T[KeyType]} & {};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user