skema icon indicating copy to clipboard operation
skema copied to clipboard

context is hard to pass into from

Open kaelzhang opened this issue 7 years ago • 0 comments

type({
  set (v) {
    // what about the `this` object here?
    // How to pass `this` into `.from()`
    return Skema.from(v)
  }
})

kaelzhang avatar Jan 27 '18 07:01 kaelzhang