Skip to content

Minimal reproduction of TS5056 with JSON and composite project

Notifications You must be signed in to change notification settings

thovden/ts37-ts5056-composite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ts37-ts5056-composite

Minimal repo for reproduction of ts5056 in Typescript 3.7.2 using composite projects and resolveJsonModule.

This happens when the basename of the Typescript file and JSON file is the same - e.g., test.ts and test.json.

tsc
# Project compiles fine

# Using a composite project does not...
tsc -p tsconfig.composite.json
error TS5056: Cannot write file '.../ts37-ts5056-composite/dist/test.d.ts' because it would be overwritten by multiple input files.

About

Minimal reproduction of TS5056 with JSON and composite project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published