We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5a73fc commit e2a8010Copy full SHA for e2a8010
src/runtime.ts
@@ -101,9 +101,7 @@ export interface DefinePageQueryParamOptions<T = unknown> {
101
* (e.g. a invalid number is passed to the int param parser). If not provided
102
* and the param parser throws, the route will not match.
103
*/
104
- default?: T
105
- // TODO: handle function syntax
106
- // default?: (() => T) | T
+ default?: (() => T) | T
107
108
/**
109
* How to format the query parameter value.
0 commit comments