Defjs
Core

ClientOption

Function type of the option helpers accepted by createClient.

@defjs/core · Type

Signature

type ClientOption = (config: ClientConfig) => void;

Mutates the ClientConfig that createClient is building. Every with* helper returns one. createClient applies the options in order, so a later option overwrites an earlier one for the same setting, except withInterceptors, which appends.

Parameters

Prop

Type

config ClientConfig
Edit this page on GitHub
Released under the MIT License. · Copyright © 2026 MunMunMiao