Skip to content

Opensearch dashboards.savedobjecttyperegistry.registertype

Home > opensearch-dashboards > SavedObjectTypeRegistry > registerType

SavedObjectTypeRegistry.registerType() method

Register a type inside the registry. A type can only be registered once. subsequent calls with the same type name will throw an error.

Signature:

registerType(type: SavedObjectsType): void;

Parameters

Parameter Type Description
type SavedObjectsType

Returns:

void