Interface ICreateWithServerPropsOptions<TContext>

Options for createWithServerProps() function.

interface ICreateWithServerPropsOptions<TContext> {
    enhanceContext?: Nilable<EnhanceServerContext<TContext>>;
    onError?: Nilable<ServerErrorHandler>;
}

Type Parameters

Properties

enhanceContext?: Nilable<EnhanceServerContext<TContext>>

The optional and custom function, that enhances the TContext based object.

onError?: Nilable<ServerErrorHandler>

Custom and additional error handler.

Generated using TypeDoc