Commit Graph

11 Commits

Author SHA1 Message Date
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Aluan Haddad
08786315ca Fixed bug that resulted in any inference (#16955)
Fixed a bug that resulted in `any` being inferred for nested recursive generics.
Formatted type declaration on multiple lines for readability.
Updated maintainers list.
2017-06-04 19:02:42 -07:00
Aluan Haddad
8fb52b5f6c Update deep-freeze-tests.ts
Fix tests
2017-05-26 11:08:36 -04:00
Aluan Haddad
6a2127b2be lint 2017-05-25 13:34:43 -04:00
Aluan Haddad
cbb74ca81c Export DeepReadonly via declaration merging 2017-05-25 13:29:43 -04:00
Aluan Haddad
f2172aa7be Use recursive mapped type 2017-05-20 11:36:29 -04:00
Aluan Haddad
01065233d5 lint declaration 2017-05-20 11:36:28 -04:00
Aluan Haddad
10297b8f3e lint tests 2017-05-20 11:36:27 -04:00
Aluan Haddad
8e4832bbdd add tslint.json 2017-05-20 11:36:26 -04:00
Aluan Haddad
6246d0d62b updated to use Mapped Types and align with Object.freeze in lib.d.ts
Updated the declaration to take advantage of Mapped Types. Specifically, I added a `DeepReadonly` recursive generic mapped type.

Additionally, I took the opportunity to add overloads that mirroring those of `Object.freeze` as specified in the latest `lib.d.ts`.

I removed the interface as it is now unused.
2017-05-20 11:33:10 -04:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00