You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/baselines/reference/tsbuild/moduleResolution/impliedNodeFormat-differs-between-projects-for-shared-file.js
+10-56Lines changed: 10 additions & 56 deletions
Original file line number
Diff line number
Diff line change
@@ -108,29 +108,27 @@ Resolving real path for '/src/projects/node_modules/@types/pg/index.d.ts', resul
108
108
======== Type reference directive 'pg' was successfully resolved to '/src/projects/node_modules/@types/pg/index.d.ts', primary: true. ========
109
109
File '/lib/package.json' does not exist.
110
110
File '/package.json' does not exist.
111
-
[96msrc/projects/b/src/index.ts[0m:[93m1[0m:[93m8[0m - [91merror[0m[90m TS1192: [0mModule '"/src/projects/node_modules/@types/pg/index"' has no default export.
112
-
113
-
[7m1[0m import pg from "pg";
114
-
[7m [0m [91m ~~[0m
115
-
116
111
lib/lib.es2022.full.d.ts
117
112
Default library for target 'es2022'
118
113
src/projects/node_modules/@types/pg/index.d.ts
119
114
Imported via "pg" from file 'src/projects/b/src/index.ts'
120
115
Entry point for implicit type library 'pg'
116
+
File is CommonJS module because 'src/projects/node_modules/@types/pg/package.json' does not have field "type"
========Resolvingtypereferencedirective'pg',containingfile'/src/projects/b/__inferred type names__.ts',rootdirectory'/src/projects/node_modules/@types'.========
0 commit comments