Interface NextState

A partial state object containing only the properties that can be modified during a state transition, used to pass state changes to hooks.

interface NextState {
    data?: unknown;
    i?: number;
    options?: {
        [key: string]:
            | undefined
            | string
            | number
            | boolean
            | string[]
            | number[]
            | false[]
            | true[];
    };
    params?: Params;
}

Properties

data?: unknown
i?: number
options?: {
    [key: string]:
        | undefined
        | string
        | number
        | boolean
        | string[]
        | number[]
        | false[]
        | true[];
}
params?: Params