🐛 Bug: Writing Multi stage config results having null
in include files array
#2113
Closed
3 tasks done
Labels
status: accepting prs
Please, send a pull request to resolve this! 🙏
type: bug
Something isn't working :( 🐛
Bug Report Checklist
main
branch of the repository.Expected
Include array should not contain
null
valueActual
Additional Info
I generated
typestat.json
for this repo by selecting all possible options in improvements section:Which improvements would you like to make?
The bug is in
writeSingleTypeScriptConfig
function wheresourceFiles
is not being checked for being present before adding it to array.It would help to catch bugs if those configs would be type checked. By trying to type check them, I found another possible bug:
printImprovements
addsinferableTypes: true,
when it should probably benoInferableTypes
.My answers
Full typestat.json
The text was updated successfully, but these errors were encountered: