88 Commits

Author SHA1 Message Date
Sindre Sorhus
198f2c2e01 Fix linting 2020-03-10 12:08:43 +08:00
Sindre Sorhus
5ac9d29de6 0.12.0 v0.12.0 2020-03-09 14:00:50 +08:00
Sindre Sorhus
a5fb5a1d07 Require Node.js 10 2020-03-09 13:51:42 +08:00
Ifiok Jr
bed43c1e26
Add UnionToIntersection type (#89)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2020-03-09 13:45:32 +08:00
Jamie
8ce2a331fb
Fix readme typo (#90) 2020-02-24 15:13:28 +07:00
Sindre Sorhus
4e94c9e88b Decline some types
Closes #22
Closes #4
2020-02-20 16:00:51 +07:00
Sindre Sorhus
74d8d4aa2b 0.11.0 v0.11.0 2020-02-20 15:48:12 +07:00
Xiao Liang
6c105fb818
Allow all keys to be optional in the JsonObject type (#65) 2020-02-15 02:50:07 +07:00
Ifiok Jr
8a908a300a
Add ConditionalKeys, ConditionalPick and ConditionalExcept types (#76)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2020-02-15 02:36:12 +07:00
Resynth
ae34d9e458
Add AsyncReturnType type (#78)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2020-02-14 23:35:45 +07:00
Sindre Sorhus
b9b4565699 Fix trailing space 2020-02-11 05:25:35 +07:00
Resynth
1fe98c2854
Add types field to package.json (#83) 2020-02-11 03:31:46 +07:00
Ifiok Jr
836ecb8533
Add workspaces to PackageJson type (#77)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2020-02-11 03:25:27 +07:00
Resynth
7fe70fd821
Add PromiseValue type (#75)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2020-02-07 03:24:28 +07:00
Sindre Sorhus
8b857cedff 0.10.0 v0.10.0 2020-02-01 01:02:24 +07:00
Ifiok Jr
f98cd80d73
Add TsConfigJson type (#73)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2020-02-01 00:59:08 +07:00
Resynth
3ba4cc1ee9
Make the Opaque type stricter (#71)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2020-02-01 00:33:16 +07:00
Sindre Sorhus
077f8d0784 0.9.0 v0.9.0 2020-01-24 11:50:50 +07:00
Jakub Jastrzębski
c96a49d33b Add repository.directory to PackageJson type (#72) 2020-01-24 11:46:57 +07:00
Sindre Sorhus
5385519f8f Fix linting 2020-01-21 14:18:30 +07:00
Sindre Sorhus
794de74c6e Meta tweaks 2019-12-02 01:33:55 +07:00
Sindre Sorhus
5808be4001 Add more fields to the PackageJson type 2019-11-10 12:12:31 +07:00
Marcin Kumorek
c4e1bd54ae Fix Partial type example (#62)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2019-10-08 14:41:27 +07:00
Sam Verschueren
7d589aabe2 Fix RequireExactlyOne link in the readme (#63) 2019-10-08 14:37:51 +07:00
Sindre Sorhus
92c02842ea 0.8.1 v0.8.1 2019-09-25 16:33:02 +07:00
Natan Sągol
1b34d7e1d9 Allow objects with non-existing keys in PartialDeep (#60)
Co-authored-by: Kai Niedziela <kai.niedziela@outlook.com>
2019-09-25 16:31:19 +07:00
Sindre Sorhus
71f7d4ff37 Decline Dictionary type
Fixes #33
2019-09-23 00:19:18 +07:00
Sindre Sorhus
eb110db80c 0.8.0 v0.8.0 2019-09-16 13:50:07 +07:00
Sindre Sorhus
b95cbe5946 Fix compatibility with TS <3.5 2019-09-16 13:47:44 +07:00
Sindre Sorhus
aca5802110 Standadize docs use of the word "key" 2019-09-16 13:30:26 +07:00
Kai Niedziela
0a9d9359e2 Add RequireExactlyOne type (#55) 2019-09-16 13:21:41 +07:00
Kai Niedziela
80465bc293 Add PartialDeep type (#47)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
Co-authored-by: Dimitri Benin <BendingBender@users.noreply.github.com>
2019-09-16 12:44:40 +07:00
Crhistian Ramirez
b29c31a926 Add SetRequired and SetOptional types (#48)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2019-09-14 12:46:07 +07:00
Sindre Sorhus
1c76afe48c Clean up #35 2019-09-14 12:27:53 +07:00
Marcin Kumorek
108c03bc0a Add examples for built-in types (#35) 2019-09-14 11:52:11 +07:00
Sindre Sorhus
d3e30b6e14 Tidelift tasks 2019-09-10 16:46:21 +07:00
Sindre Sorhus
ee922a0d76 0.7.1 v0.7.1 2019-08-03 15:53:51 +02:00
Sindre Sorhus
9ffc7c8a02 Fix filename typo 2019-08-03 15:53:02 +02:00
Sindre Sorhus
ee79566b6d 0.7.0 v0.7.0 2019-08-03 15:50:46 +02:00
Sindre Sorhus
5c6ad37409 Move the Opaque type to a separate file 2019-08-03 15:44:24 +02:00
Will Hoskings
681f59b36c Add Opaque type (#53)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
Co-authored-by: Dimitri Benin <BendingBender@users.noreply.github.com>
2019-08-03 15:30:30 +02:00
Fabio Spampinato
8b8dd4ddd0 Add an optional “Argument” type to the “Class” type (#52) 2019-07-27 03:52:40 +07:00
Sindre Sorhus
51f9a3bbee 0.6.0 v0.6.0 2019-07-05 16:32:35 +07:00
Sindre Sorhus
aa1ae3b1c0
Document how to use JsonObject (#46)
Fixes #15
2019-07-05 16:31:21 +07:00
Kai Niedziela
670462c88e Add Promisable type (#45)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2019-07-05 16:30:12 +07:00
Kai Niedziela
cfac1defa1 Rename Omit to Except (#44)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2019-07-05 16:13:13 +07:00
Sindre Sorhus
5809b49972 Add missing Yarn field to the PackageJson type
All the fields should be covered now.

Fixes #16
2019-07-03 23:44:44 +07:00
Sindre Sorhus
89f09b3133 Fix missing dev dependency for linting 2019-06-14 15:24:15 +07:00
Knut Kirkhorn
cdafe596f0 Fix logo (#41) 2019-06-14 15:15:38 +07:00
Sindre Sorhus
40a19c913c Require Node.js 8 2019-06-07 14:31:22 +07:00