Skip to content

Handle type definitions

Choose a tag to compare

@Mattchewone Mattchewone released this 23 Jul 20:12
· 103 commits to master since this release

Fixes issue with ObservableArray not handling property definition

class StringList extends DefineArray {
  static items = {
    type: type.maybeConvert(String)
  }
}

Also fixes issue where

class StringList extends DefineArray {
  static items = {
    type: String
  }
}

was converting rather than doing a strict check.

Ref #29