Skip to main content

Interface: GlobalConfig

Global config object.

Properties​

allowUndefinedArrayElements​

allowUndefinedArrayElements: boolean;

Allow array elements to be undefined.


modelAutoTypeChecking​

modelAutoTypeChecking: ModelAutoTypeCheckingMode;

Model auto type-checking mode.


showDuplicateModelNameWarnings​

showDuplicateModelNameWarnings: boolean;

Enables/disables warnings related to duplicated model names (defaults to true). Usually set to false in test environments (e.g. vitest).

Methods​

modelIdGenerator()​

modelIdGenerator(): string;

ID generator function for model ids.

Returns​

string