Adds shape and value classes to the name registry, by their static type. A class can register again. A different class with a type that is already there throws a TypeError, unless the last argument is { replace: true }.
type
TypeError
{ replace: true }
Adds shape and value classes to the name registry, by their static
type. A class can register again. A different class with atypethat is already there throws aTypeError, unless the last argument is{ replace: true }.