Index: diff.patch =================================================================== --- diff.patch +++ diff.patch @@ -1,5 +1,6 @@ // index.d.ts +interface J {} declare class GenericKlass { a: A b: B } @@ -8,14 +9,11 @@ d: D } declare function genericFunction(e: E): F declare type ConditionalInfer = G extends Array> ? H : never -declare type Mapped = { - [J in keyof I]: I[J] -} +declare type Mapped = { [J in keyof I]: I[J] } declare type GenericType = { k: K l: L } interface GenericExtends extends GenericInterface {} -export { GenericKlass, genericFunction } -export { ConditionalInfer, GenericExtends, GenericInterface, GenericType, Mapped } +export { ConditionalInfer, GenericExtends, GenericInterface, GenericKlass, GenericType, Mapped, genericFunction }