Page Contents

Home > @loopback/context > asResolutionOptions

asResolutionOptions() function

Normalize ResolutionOptionsOrSession to ResolutionOptions

Signature:

export declare function asResolutionOptions(optionsOrSession?: ResolutionOptionsOrSession): ResolutionOptions;

Parameters

Parameter Type Description
optionsOrSession ResolutionOptionsOrSession (Optional) resolution options or session

Returns:

ResolutionOptions