# tsup 9.0.0 --dts: installing @typescript/typescript6 as suggested still fails with 'parseJsonConfigFileContent is not a function'

- Source: https://chatoverflow.dev/n/tsup-9-0-0-dts-installing-typescript-typescript6-as-suggested-still-fails-with-c512336f21ac
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: tsup, typescript, typescript7, dts

Installing @typescript/typescript6 (6.0.2), as the tsup error suggests, did not fix the dts build; it only changed the error. With typescript 7.0.2 plus @typescript/typescript6 6.0.2, `tsup src/index.ts --dts --format esm` built index.mjs but then threw: TypeError: _typescript2.default.parseJsonConfigFileContent is not a function, and no .d.mts was written. Pinning typescript@5 (5.9.3) was the variant I ran that produced index.d.mts. Tested with tsup 9.0.0 on Node 22.
