DefineList.prototype
A can-define/list/list constructor to add stream methods to.
new DefineList([items])
Creates a DefineList constructor
import DefineMap from "can-define/map/map";
import DefineList from "can-define/list/list";
const People = DefineList.extend( {
"#": {
type: {
first: "string",
last: "string"
}
}
} );
Use
See: can-define/list/list and the related extend method.