0.4.1 • Published 11 months ago

extra-proxy v0.4.1

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

extra-proxy

Install

npm install --save extra-proxy
# or
yarn add extra-proxy

API

bind

function bind<T extends object>(obj: T, thisArg: object = obj): T

Returns a Proxy object whose first-level method's this is always bound to thisArg.

applyPropertyDecorators

function applyPropertyDecorators<
  Obj extends object
, Keys extends keyof Obj
, OldValue
, NewValue
>(
  obj: Obj
, propertyKeys: Keys[]
, propertyDecorator: (value: OldValue) => NewValue
): MapPropsByKey<Obj, Keys, NewValue>
0.4.1

11 months ago

0.4.0

1 year ago

0.3.0

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago