@real-router/types 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.d.ts +7 -0
- package/dist/esm/index.d.mts +7 -0
- package/package.json +1 -1
package/dist/cjs/index.d.ts
CHANGED
|
@@ -387,6 +387,13 @@ interface Options {
|
|
|
387
387
|
* @default undefined
|
|
388
388
|
*/
|
|
389
389
|
logger?: Partial<LoggerConfig>;
|
|
390
|
+
/**
|
|
391
|
+
* Disables argument validation in public router methods.
|
|
392
|
+
* Use in production for performance. Keep false in development for early error detection.
|
|
393
|
+
*
|
|
394
|
+
* @default false
|
|
395
|
+
*/
|
|
396
|
+
noValidate?: boolean;
|
|
390
397
|
}
|
|
391
398
|
type ActivationFn = (toState: State, fromState: State | undefined, done: DoneFn) => boolean | Promise<boolean | object | void> | State | void;
|
|
392
399
|
type DefaultDependencies = object;
|
package/dist/esm/index.d.mts
CHANGED
|
@@ -387,6 +387,13 @@ interface Options {
|
|
|
387
387
|
* @default undefined
|
|
388
388
|
*/
|
|
389
389
|
logger?: Partial<LoggerConfig>;
|
|
390
|
+
/**
|
|
391
|
+
* Disables argument validation in public router methods.
|
|
392
|
+
* Use in production for performance. Keep false in development for early error detection.
|
|
393
|
+
*
|
|
394
|
+
* @default false
|
|
395
|
+
*/
|
|
396
|
+
noValidate?: boolean;
|
|
390
397
|
}
|
|
391
398
|
type ActivationFn = (toState: State, fromState: State | undefined, done: DoneFn) => boolean | Promise<boolean | object | void> | State | void;
|
|
392
399
|
type DefaultDependencies = object;
|