Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
RIght now, we publish the ts source files alongside the js, mjs, map, and .d.ts files. Because of how tsc works (https://github.com/microsoft/TypeScript/issues/10704), it will use the ts files instead of the d.ts files. That can lead to problems with compiling with never tsc versions and is more expensive than if tsc uses the d.ts files. To avoid this problem, we should move the sources into a sources directory. We need to make sure that declaration maps still work.
Attachments
Issue Links
- duplicates
-
ARROW-13884 Arrow 5.0.0 cannot compile with Typescript 4.2.2
- Resolved