-
-
Notifications
You must be signed in to change notification settings - Fork 949
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: FakerError #718
feat: FakerError #718
Conversation
Codecov Report
@@ Coverage Diff @@
## main #718 +/- ##
==========================================
- Coverage 99.34% 99.34% -0.01%
==========================================
Files 1924 1925 +1
Lines 177010 177024 +14
Branches 908 909 +1
==========================================
+ Hits 175858 175871 +13
- Misses 1096 1097 +1
Partials 56 56
|
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.
Please re-export FakerError
in src/index.ts
How are things exported in the root |
@xDivisionByZerox You just want to do in import { FakerError } from './errors/faker-error';
// ...
export { FakerError }; |
But you know that this can be simplified, do you? export{ FakerError } from './errors/faker-error'; That's why I was asking because I have seen these redundant import => export statements... |
Yeah I know, but I'm not yet used to it |
I personally actually prefer this form, as it's shorter and cleaner what comes from where... |
The export is still missing @xDivisionByZerox right? |
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.
index export still missing
Yes the export was still missing but is implemented now. |
Co-authored-by: ST-DDT <[email protected]>
closes #707