Skip to content

Type Alias: WagenConfig ​

ts
type WagenConfig = object & MissingConfig;

Defined in: wagen.ts:67

The options of createWagen. missing is what a state without a default reads when its source holds nothing usable, and what removes the value when written. It defaults to null, takes only the type Register names, and is required once Register names one.

Type Declaration ​

NameTypeDescriptionDefined in
parsers?WagenParsersThe parsers a state can name. The built-in names are always available.wagen.ts:69
router?WagenRouterOptionsThe defaults of route state.wagen.ts:73
storage?WagenStorageOptionsWhere storage state lives, and its defaults.wagen.ts:71

Released under the MIT License.