Improve documentation around TypeScript settings
dbanck opened this issue · comments
Hi!
It took me a while to figure out that Zodios requires allowSyntheticDefaultImports
set to true
inside the tsconfig.json
to work.
Taking the example from the readme:
Without allowSyntheticDefaultImports
the type of user
doesn't resolve to something useful:
With "allowSyntheticDefaultImports": true
set:
Having this documented somewhere or supplying an example tsconfig.json
could help avoid this.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.