Closed samreid closed 7 years ago
The schema for flag is now:
flag: {
required: [],
optional: [],
validate: validateFlag,
parse: parseFlag
},
If I try to supply a default value for a flag, I am met with:
Error: Assertion failed: unsupported property: defaultValue
From https://github.com/phetsims/chipper/issues/519. We decided that type:flag should not permit defaultValue--it is too confusing and type:boolean should be used for those cases.