Update OfflineManager.md
Really simple typo errors
Description
Fixes #
Added your feature that allows ...
Checklist
- [x] I've read
CONTRIBUTING.md - [x] I updated the doc/other generated code with running
yarn generatein the root folder - [x] I have tested the new feature on
/exampleapp.- [x] In V11 mode/ios
- [x] In New Architecture mode/ios
- [x] In V11 mode/android
- [x] In New Architecture mode/android
- [x] I added/updated a sample - if a new feature was implemented (
/example)
Screenshot OR Video
Component to reproduce the issue you're fixing
Hi @antoniovini47! 👋
Thank you for taking the time to contribute to @rnmapbox/maps! I really appreciate your attention to detail in spotting documentation issues.
However, I noticed that the docs/OfflineManager.md file you're modifying is actually auto-generated from the source TypeScript file (src/modules/offline/offlineManager.ts), as indicated by the comment at the top of the file:
<!-- This file was autogenerated from offlineManager.ts do not modify -->
To properly fix the documentation:
- Please modify the JSDoc comments in the source file at
src/modules/offline/offlineManager.tsinstead - After making your changes, run
yarn generatefrom the root folder to regenerate the documentation
Looking at the source file, the createPack method signature appears to already use TypeScript's optional parameter syntax (lines 103-107), so the generated documentation should reflect that correctly after running yarn generate.
Could you please update your PR to modify the source file instead and regenerate the docs? This will ensure the changes persist and don't get overwritten the next time someone runs the generation script.
Thanks again for helping improve the documentation! 🙏