Skip to content

Commit 0fd0e03

Browse files
committed
Some updates
1 parent 86b0c77 commit 0fd0e03

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "js-spec",
3-
"version": "0.1.71",
3+
"version": "0.1.72",
44
"license": "LGPL-3.0",
55
"homepage": "https://github.com/js-works/js-spec",
66
"main": "index.js",

src/main/api/Spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ const Spec = {
494494
optional,
495495
extensible,
496496
validate
497-
}: CheckPropsConfig<T>): SpecValidator {
497+
}: CheckPropsConfig<T>): SpecValidator<T> {
498498
return Spec.and(
499499
Spec.props({ required, optional, validate }),
500500

0 commit comments

Comments
 (0)