这是indexloc提供的服务,不要输入任何密码
Skip to content

Should IFlagsmithFeature.value be required? #328

@majdanov

Description

@majdanov

IFlagsmithFeature.value became require when updating to 9.1.0. Is this a typo or not?

// 9.0.5
export interface IFlagsmithFeature {
    id: numbers
    enabled: boolean;
    value?: IFlagsmithValue;
}
// 9.1.0
type IFlagsmithValue<T = string | number | boolean | null> = T

export interface IFlagsmithFeature<Value = IFlagsmithValue> {
    id: numbers
    enabled: boolean;
    value: Value;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions