n4s 4.1.0 → 4.1.1-dev-950c8e

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.1.0",
2
+ "version": "4.1.1-dev-950c8e",
3
3
  "license": "MIT",
4
4
  "main": "./dist/cjs/n4s.js",
5
5
  "types": "./types/n4s.d.ts",
package/types/schema.d.ts CHANGED
@@ -135,7 +135,7 @@ type TLazyRuleRunners = {
135
135
  run: (value: unknown) => TRuleDetailedResult;
136
136
  };
137
137
  type TLazyMessage = string | ((value: unknown, originalMessage?: TStringable) => string);
138
- declare function isArrayOf(inputArray: any[], currentRule: TLazy): TRuleDetailedResult;
138
+ declare function isArrayOf(inputArray: any[], currentRule: TLazyRuleRunners): TRuleDetailedResult;
139
139
  interface IShapeObject extends Record<string, any>, Record<string, TLazyRuleRunners> {
140
140
  }
141
141
  declare function loose(inputObject: Record<string, any>, shapeObject: IShapeObject): TRuleDetailedResult;