Releases: typescript-package/descriptor
Releases · typescript-package/descriptor
v1.0.0
AccessorDescriptor
- Add generic
C
- configurable andE
- enumerable toCommonDescriptor
. - Change the generic names
Object
toO
,PropertyName
toK
,Value
toV
and addC
, andE
in theAccessorDescriptor
. - Check
get
andset
againstfunction
type inAccessorDescriptor.guard()
static method. - Add
static create()
method to create a new instance ofAccessorDescriptor
. - Change the param
onGuard
toonValidate
indefine
static method inAccessorDescriptor
.
DataDescriptor
- Change the generic type variable
Value
toV
, and addO
object,K
object keyC
,E
, andW
. - Add
static create()
method to create a new instance ofDataDescriptor
. - Add
onValidate
param in theconstructor
to validate the data descriptor.
Descriptor
- Change the generic type variable
Value
toV
,Object
toO
object,PropertyName
toK
object key, and addC
,E
, andW
. - Add
static create()
method to create a new instance ofDescriptor
. - Add generic type variables to
static
define()
,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