-
-
Notifications
You must be signed in to change notification settings - Fork 932
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
refactor(location): nearbyGPSCoordinate options #1682
Conversation
@ST-DDT while running - nearbyGPSCoordinate
/home/shinigami/OpenSource/faker/scripts/apidoc/signature.ts:238
(property.type as ReflectionType)?.declaration.signatures?.[0]
^
TypeError: Cannot read properties of undefined (reading 'signatures')
at <anonymous> (/home/shinigami/OpenSource/faker/scripts/apidoc/signature.ts:238:48)
at Array.map (<anonymous>)
at analyzeParameterOptions (/home/shinigami/OpenSource/faker/scripts/apidoc/signature.ts:231:23)
at <anonymous> (/home/shinigami/OpenSource/faker/scripts/apidoc/signature.ts:227:7)
at Array.flatMap (<anonymous>)
at analyzeParameterOptions (/home/shinigami/OpenSource/faker/scripts/apidoc/signature.ts:226:32)
at analyzeParameter (/home/shinigami/OpenSource/faker/scripts/apidoc/signature.ts:210:22)
at analyzeSignature (/home/shinigami/OpenSource/faker/scripts/apidoc/signature.ts:128:20)
at processModuleMethod (/home/shinigami/OpenSource/faker/scripts/apidoc/moduleMethods.ts:77:18)
at processModuleMethods (/home/shinigami/OpenSource/faker/scripts/apidoc/moduleMethods.ts:34:19) can you help me fix this? |
This error is shown if there is a param without jsdocs. We could try to improve the error message, but not sure what information we have in that context. options vs optionsOrCoordinate |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## next #1682 +/- ##
==========================================
- Coverage 99.64% 99.63% -0.01%
==========================================
Files 2245 2245
Lines 240318 240400 +82
Branches 1078 1079 +1
==========================================
+ Hits 239453 239525 +72
- Misses 844 854 +10
Partials 21 21
|
I will extract to an issue |
Co-authored-by: ST-DDT <ST-DDT@gmx.de>
30aad24
Co-authored-by: Leyla Jähnig <leyla.jaehnig@gmx.de>
related to #1349
preparation for
address.nearbyGPSCoordinate
#1357