@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.
@@ -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;
@@ -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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@real-router/types",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "type": "commonjs",
5
5
  "description": "Shared TypeScript types for Real Router ecosystem",
6
6
  "types": "./dist/esm/index.d.mts",