Skip to content

@graphty/graphty-element / extend / RegisterAcceleratorOptions

Interface: RegisterAcceleratorOptions ​

Defined in: graphty-element/src/acceleration/registry.ts:29

How a second registration under an existing name behaves.

Properties ​

strict? ​

readonly optional strict?: boolean

Defined in: graphty-element/src/acceleration/registry.ts:36

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

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