Releases: typescript-package/descriptor
Releases · typescript-package/descriptor
v2.0.0
- Bumped package version from 1.1.0 to 2.0.0
- Updated
@typedly/descriptorpeer dependency to version^11.0.0
What's Changed
- v2.0.0 by @sciborrudnicki in #5
Full Changelog: v1.1.0...v2.0.0
v1.1.0
- Update peer dependencies.
What's Changed
- v1.1.0 by @sciborrudnicki in #4
Full Changelog: v1.0.0...v1.1.0
v1.0.0
AccessorDescriptor
- Add generic
C- configurable andE- enumerable toCommonDescriptor. - Change the generic names
ObjecttoO,PropertyNametoK,ValuetoVand addC, andEin theAccessorDescriptor. - Check
getandsetagainstfunctiontype inAccessorDescriptor.guard()static method. - Add
static create()method to create a new instance ofAccessorDescriptor. - Change the param
onGuardtoonValidateindefinestatic method inAccessorDescriptor.
DataDescriptor
- Change the generic type variable
ValuetoV, and addOobject,Kobject keyC,E, andW. - Add
static create()method to create a new instance ofDataDescriptor. - Add
onValidateparam in theconstructorto validate the data descriptor.
Descriptor
- Change the generic type variable
ValuetoV,ObjecttoOobject,PropertyNametoKobject key, and addC,E, andW. - Add
static create()method to create a new instance ofDescriptor. - Add generic type variables to
staticdefine(),defineAccessor(),defineData(), andguard()methods.
What's Changed
- v1.0.0-beta by @wwwdev-ai in #1
- v1.0.0 by @sciborrudnicki in #2
- v1.0.0 by @sciborrudnicki in #3
New Contributors
- @wwwdev-ai made their first contribution in #1
- @sciborrudnicki made their first contribution in #2
Full Changelog: https://github.com/typescript-package/descriptor/commits/v1.0.0