-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add index.d.ts #10
Conversation
Codecov Report
@@ Coverage Diff @@
## master #10 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 2 2
Lines 8 8
=====================================
Hits 8 8
Continue to review full report at Codecov.
|
index.d.ts
Outdated
|
||
interface ValidateError { | ||
code: string; | ||
field: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
field
can be undefined
, add ?
modifier. others LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
ValidatorError.field can be undefined, add ? modifier
Codecov Report
@@ Coverage Diff @@
## master #10 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 2 2
Lines 8 8
=====================================
Hits 8 8
Continue to review full report at Codecov.
|
1.1.0 |
Checklist
npm test
passesDescription of change
Add
index.d.ts
.