🔎 Search Terms
- TS5055
- overwrite input file
🕗 Version & Regression Information
- This changed between versions ______ and _______
- This changed in commit or PR _______
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________
- I was unable to test this on prior versions because _______
⏯ Playground Link
No response
💻 Code
Source structure:
packages
├── doom
│ ├── lib
│ ├── src
│ └── tsconfig.json
└── export
├── lib
├── src
└── tsconfig.json
🙁 Actual behavior
Run yarn tsc -b first, change any file in packages/doom, and run yarn tsc -b again.
error TS5055: Cannot write file '/Users/JounQin/Workspaces/GitHub/doom/packages/doom/lib/plugins/api/index.d.ts' because it would overwrite input file.
error TS5055: Cannot write file '/Users/JounQin/Workspaces/GitHub/doom/packages/doom/lib/plugins/api/types.d.ts' because it would overwrite input file.
error TS5055: Cannot write file '/Users/JounQin/Workspaces/GitHub/doom/packages/doom/lib/plugins/auto-sidebar/index.d.ts' because it would overwrite input file.
error TS5055: Cannot write file '/Users/JounQin/Workspaces/GitHub/doom/packages/doom/lib/plugins/auto-sidebar/type.d.ts' because it would overwrite input file.
error TS5055: Cannot write file '/Users/JounQin/Workspaces/GitHub/doom/packages/doom/lib/plugins/auto-sidebar/walk.d.ts' because it would overwrite input file.
error TS5055: Cannot write file '/Users/JounQin/Workspaces/GitHub/doom/packages/doom/lib/plugins/auto-toc/index.d.ts' because it would overwrite input file.
error TS5055: Cannot write file '/Users/JounQin/Workspaces/GitHub/doom/packages/doom/lib/plugins/directives/index.d.ts' because it would overwrite input file.
error TS5055: Cannot write file '/Users/JounQin/Workspaces/GitHub/doom/packages/doom/lib/plugins/global/index.d.ts' because it would overwrite input file.
error TS5055: Cannot write file '/Users/JounQin/Workspaces/GitHub/doom/packages/doom/lib/plugins/index.d.ts' because it would overwrite input file.
error TS5055: Cannot write file '/Users/JounQin/Workspaces/GitHub/doom/packages/doom/lib/plugins/mermaid/index.d.ts' because it would overwrite input file.
error TS5055: Cannot write file '/Users/JounQin/Workspaces/GitHub/doom/packages/doom/lib/plugins/permission/index.d.ts' because it would overwrite input file.
error TS5055: Cannot write file '/Users/JounQin/Workspaces/GitHub/doom/packages/doom/lib/plugins/permission/types.d.ts' because it would overwrite input file.
error TS5055: Cannot write file '/Users/JounQin/Workspaces/GitHub/doom/packages/doom/lib/plugins/replace/index.d.ts' because it would overwrite input file.
error TS5055: Cannot write file '/Users/JounQin/Workspaces/GitHub/doom/packages/doom/lib/plugins/replace/normalize-img-src.d.ts' because it would overwrite input file.
error TS5055: Cannot write file '/Users/JounQin/Workspaces/GitHub/doom/packages/doom/lib/plugins/replace/types.d.ts' because it would overwrite input file.
error TS5055: Cannot write file '/Users/JounQin/Workspaces/GitHub/doom/packages/doom/lib/plugins/replace/utils.d.ts' because it would overwrite input file.
error TS5055: Cannot write file '/Users/JounQin/Workspaces/GitHub/doom/packages/doom/lib/plugins/shiki/index.d.ts' because it would overwrite input file.
error TS5055: Cannot write file '/Users/JounQin/Workspaces/GitHub/doom/packages/doom/lib/plugins/shiki/transformers/callouts.d.ts' because it would overwrite input file.
error TS5055: Cannot write file '/Users/JounQin/Workspaces/GitHub/doom/packages/doom/lib/plugins/shiki/transformers/index.d.ts' because it would overwrite input file.
error TS5055: Cannot write file '/Users/JounQin/Workspaces/GitHub/doom/packages/doom/lib/shared/constants.d.ts' because it would overwrite input file.
error TS5055: Cannot write file '/Users/JounQin/Workspaces/GitHub/doom/packages/doom/lib/shared/helpers.d.ts' because it would overwrite input file.
error TS5055: Cannot write file '/Users/JounQin/Workspaces/GitHub/doom/packages/doom/lib/shared/index.d.ts' because it would overwrite input file.
error TS5055: Cannot write file '/Users/JounQin/Workspaces/GitHub/doom/packages/doom/lib/shared/types.d.ts' because it would overwrite input file.
error TS5055: Cannot write file '/Users/JounQin/Workspaces/GitHub/doom/packages/doom/lib/types.d.ts' because it would overwrite input file.
Found 24 errors.
🙂 Expected behavior
No error
Additional information about the issue
No response
🔎 Search Terms
🕗 Version & Regression Information
⏯ Playground Link
No response
💻 Code
Source structure:
🙁 Actual behavior
Run
yarn tsc -bfirst, change any file inpackages/doom, and runyarn tsc -bagain.🙂 Expected behavior
No error
Additional information about the issue
No response