Skip to content

ParserWithDefault

Defined in: tanstack/core/parser.ts:38

Server / framework-free entrypoint. No React, safe to import in loaders, server functions, and validateSearch.

Type Parameter
T
Property Modifier Type Defined in
defaultValue readonly T tanstack/core/parser.ts:41
eq public Eq<T> tanstack/core/parser.ts:45
hasDefault readonly true tanstack/core/parser.ts:40
kind readonly "single" tanstack/core/parser.ts:39
options readonly | QueryStateOptions | undefined tanstack/core/parser.ts:42
parse public (value) => T | null tanstack/core/parser.ts:43
serialize public (value) => string tanstack/core/parser.ts:44
withDefault public (defaultValue) => ParserWithDefault<T> tanstack/core/parser.ts:46
withOptions public (options) => ParserWithDefault<T> tanstack/core/parser.ts:47