Represents the parameters for a class.

interface IParams<T extends IEntity = any> {
    debounce?: number;
    initialValue: T | Entity<T> | () => T;
    onChange?: (item: EntityAdapter<T>) => void;
}

Type Parameters

  • T extends IEntity = any

    The type of the entity.

Properties

debounce?: number
initialValue: T | Entity<T> | () => T
onChange?: (item: EntityAdapter<T>) => void