Releases: DetachHead/ts-helpers
Releases · DetachHead/ts-helpers
16.2.0
What's Changed
- replace usages of
Narrow
type with const generics & remove deprecatedassertType
signature by @DetachHead in #245 - add factorial type and function by @DetachHead in #247
- ts 5.2 by @DetachHead in #248 and #254
- rewrite
splice
to usetoSpliced
and addinsertItems
arg by @DetachHead in #250 - add
EveryCombination
type by @DetachHead in #251
Full Changelog: 16.1.0...16.2.0
16.1.0
What's Changed
- add
optionalProperties
function by @DetachHead in #240
Full Changelog: 16.0.0...16.1.0
16.0.0
What's Changed
- fix
ReplaceValuesRecursive
for unions by @DetachHead in #234 - rename
Required
toRequiredProperties
to avoid conflict with builtin type, add optional types & more required types by @DetachHead in #235 - fix dom types being incorrectly available by @DetachHead in #236
- fix
NoUncheckedIndexedAccess
and move compilerOptions types to their own file by @DetachHead in #237
Full Changelog: 15.1.0...16.0.0
15.1.0
What's Changed
- add
ReplaceValuesRecursive
type by @DetachHead in #233 - add
Required
andRequiredBy
types by @DetachHead in #231
Full Changelog: 15.0.0...15.1.0
15.0.0
What's Changed
- rename cast functions to narrow and add
narrowCast
function by @DetachHead in #227 - add
Intersection
type which correctly handles index signatures by @DetachHead in #228
Full Changelog: 14.0.0...15.0.0
14.0.0
What's Changed
- add
HasDefaultExport
type by @DetachHead in #218 - include
tsconfig.base.json
in published package since src extends it by @DetachHead in #217 - Ts 5.0 by @DetachHead in #211
- rename
utilityFunctions
andutilityTypes
to justfunctions
andtypes
by @DetachHead in #221 - use
infer
extends
in more places by @DetachHead in #222 - add
New
function that instantiates a class with a typedconstructor
property by @DetachHead in #224
Full Changelog: v13.0.0...14.0.0
13.0.0
What's Changed
- switch to lodash
isEqual
forexactly
by @DetachHead in #206 - fix array
slice
with rest types by @DetachHead in #200 - bump typescript to 4.9 beta by @DetachHead in #204
- add
IsExactlyOptionalProperty
type by @DetachHead in #209 - actually better
cast
function by @DetachHead in #213 - add
dontNarrow
function by @DetachHead in #214 - fix ts icon on npmjs.com by @DetachHead in #216
Full Changelog: 12.2.0...13.0.0
12.2.0
12.1.1
What's Changed
- fix issues with
trim
where the value isn't known at compiletime by @DetachHead in #198
Full Changelog: 12.1.0...12.1.1
12.1.0
What's Changed
ToNumber
type by @DetachHead in #194- add
trim
function andTrim
type by @DetachHead in #195
Full Changelog: v12.0.0...12.1.0