Skip to content

Commit

Permalink
Avoid implicit any for TypeScript definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
rayalan committed Feb 28, 2018
1 parent 3ac9943 commit 8381074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

export type DoubledObject < T > = T

export type DoubledObjectWithKey < T extends string > = { [K in T] }
export type DoubledObjectWithKey < T extends string > = { [K in T] : any }

export type TestDouble < T > = T

Expand Down

0 comments on commit 8381074

Please sign in to comment.