Open sla100 opened 3 years ago
Hello. When does this appear? can you point me to a plugin that has this issue?
this occurs when "files"
https://github.com/capacitor-community/bluetooth-le/blob/main/tsconfig.json#L19 is changed to "include": ["src"]
for when example when i ran into it. I wasn't familiar with this docgen program, so i didn't realize it expected "files"
explicitly. The suggested fix seems like it is a workaround rather than a real fix.
Hi amazing CapacitorJS team (and ionic-team 🤗 ), Any chances this pr can get merged? I had to do exactly the same thing with my tsconfig.json
file because for some odd reason tsc
was only transpiling src/index.ts
and ignoring src/definitions.ts
and src/web/ts
. My work around was to replace
"files": ["src/index.ts"]
with
"include": ["src/*"]
and then running npm run build
started to fail when running DocGen
Thanks!!
This would be very useful. Please consider merging!
Guard for:
DocGen TypeError: Cannot read properties of undefined (reading 'map')