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 +1 -1
- package/types/schema.d.ts +1 -1
package/package.json
CHANGED
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:
|
|
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;
|