typescript
typescript copied to clipboard
fix: TS program doesn't emit declaration files
trafficstars
This PR addresses 2 main issues:
- TS doesn't emit declaration files. TS isn't able to resolve the Source files passed to
ts.createProgram, fromfederationOptions#exposes. The file paths mentioned inexposesmay not always be relative to thecwd(). __types_index.jsonhas wrong file paths that aren't in sync with the emitted.d.tsfiles.
Creating a Draft PR fixing #1. Will update the PR with #2 later today.