@shushed/helpers 0.0.9 → 0.0.10
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/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -29646,7 +29646,7 @@ type Log = {
|
|
|
29646
29646
|
log: (x: string) => void;
|
|
29647
29647
|
error: (x: string) => void;
|
|
29648
29648
|
};
|
|
29649
|
-
declare function validate<T>(payload: T
|
|
29649
|
+
declare function validate<T>(payload: T, schema: JSONSchemaType<T>, options: {
|
|
29650
29650
|
log: Log;
|
|
29651
29651
|
}): T;
|
|
29652
29652
|
|