Skip to content

Commit

Permalink
Fix Simplify to actually expand type-hints (#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed Feb 7, 2023
1 parent 6f8538c commit aaef3e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/simplify.d.ts
Expand Up @@ -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]} & {};

0 comments on commit aaef3e3

Please sign in to comment.