mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
f55e15856d
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: jakebailey <[email protected]>
22 lines
976 B
Plaintext
22 lines
976 B
Plaintext
error TS5055: Cannot write file '/dist/main.d.cts' because it would overwrite input file.
|
|
Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig.
|
|
/main.cts(1,20): error TS2307: Cannot find module 'self' or its corresponding type declarations.
|
|
|
|
|
|
!!! error TS5055: Cannot write file '/dist/main.d.cts' because it would overwrite input file.
|
|
!!! error TS5055: Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig.
|
|
==== /dist/main.d.cts (0 errors) ====
|
|
export {};
|
|
==== /main.cts (1 errors) ====
|
|
import * as s from "self";
|
|
~~~~~~
|
|
!!! error TS2307: Cannot find module 'self' or its corresponding type declarations.
|
|
s;
|
|
==== /package.json (0 errors) ====
|
|
{
|
|
"name": "self",
|
|
"exports": {
|
|
".": "./dist"
|
|
}
|
|
}
|
|
|