own and drops merged onto bases' fields. A refusal throws an Error whose message says why in words; the compiler gives it its category.
own
drops
bases
Error
Optional
whether two fields of one name from two bases are the same field; the compiler compares them with their types in place.
const base = {kind: 'extends', name: 'P', fields: [new Field({name: 'a'}), new Field({name: 'b', required: false})]};merge([base], [new Field({name: 'c'})], ['b']).map((f) => f.name);// => ['a', 'c'] Copy
const base = {kind: 'extends', name: 'P', fields: [new Field({name: 'a'}), new Field({name: 'b', required: false})]};merge([base], [new Field({name: 'c'})], ['b']).map((f) => f.name);// => ['a', 'c']
ownanddropsmerged ontobases' fields. A refusal throws anErrorwhose message says why in words; the compiler gives it its category.