Skip to content

@graphty/graphty-element / extend / RegisterOptions

Interface: RegisterOptions ​

Defined in: graphty-element/src/catalog/pluginRegistry.ts:49

How a second registration under an existing name behaves.

Properties ​

strict? ​

readonly optional strict?: boolean

Defined in: graphty-element/src/catalog/pluginRegistry.ts:56

Refuses a different implementation under a name already taken, instead of replacing it.

The default is forgiving because hot module replacement re-registers constantly. A build that wants the collision to be loud opts in.