Skip to content

Home > d3-blueprint > ConfigDefineOptions

ConfigDefineOptions interface

Options when defining a config property.

Signature:

typescript
export interface ConfigDefineOptions<T = unknown>

Properties

Property

Modifiers

Type

Description

defaultValue

T

Default value for the property.

getter?

(value: T) => T

(Optional) Optional transform applied when reading the value.

setter?

(value: T) => T

(Optional) Optional transform applied when writing the value.