UNPKG
vue-function-api-sd
Version:
latest (2.2.0-rc)
2.2.0-rc
Provide logic composition capabilities for Vue.
github.com/vuejs/vue-function-api
vue-function-api-sd
/
dist
/
reactivity
/
set.d.ts
7 lines
(6 loc)
•
246 B
TypeScript
View Raw
1
2
3
4
5
6
7
/** *
Set
a
property
on
an
object
. Adds the
new
property
, triggers change * notification
and
intercept it
's subsequent access if the property doesn't
* already exist. */ export
declare
function
set
<T>(target: any,
key
: any, val: T): T;