@cccode/fxr - v22.0.0

    Interface FXRSerializeOptions

    An object containing options for the serialize method in most classes that are part of the FXR tree structure.

    interface FXRSerializeOptions {
        excludeDefaults?: boolean;
        requireActionDefinition?: boolean;
    }
    Index

    Properties

    excludeDefaults?: boolean

    Excludes all properties with default values from the output JSON.

    requireActionDefinition?: boolean

    Forces actions to not turn into undefined when excludeDefaults is true. This is mainly used internally to stop generic classes from outputting nonsense, but it may also be useful if you want to prevent actions from disappearing entirely from the output.

    MMNEPVFCICPMFPCPTTAAATR