mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
28 lines
1.1 KiB
Diff
28 lines
1.1 KiB
Diff
--- old.jsContainerMergeTsDeclaration3.errors.txt
|
|
+++ new.jsContainerMergeTsDeclaration3.errors.txt
|
|
@@= skipped -0, +0 lines =@@
|
|
-b.js(1,7): error TS2739: Type '{}' is missing the following properties from type 'typeof A': d, prototype
|
|
-
|
|
-
|
|
-==== a.d.ts (0 errors) ====
|
|
+a.d.ts(1,15): error TS2451: Cannot redeclare block-scoped variable 'A'.
|
|
+b.js(1,7): error TS2451: Cannot redeclare block-scoped variable 'A'.
|
|
+b.js(2,3): error TS2339: Property 'd' does not exist on type 'typeof A'.
|
|
+
|
|
+
|
|
+==== a.d.ts (1 errors) ====
|
|
declare class A {}
|
|
-==== b.js (1 errors) ====
|
|
+ ~
|
|
+!!! error TS2451: Cannot redeclare block-scoped variable 'A'.
|
|
+!!! related TS6203 b.js:1:7: 'A' was also declared here.
|
|
+==== b.js (2 errors) ====
|
|
const A = { };
|
|
~
|
|
-!!! error TS2739: Type '{}' is missing the following properties from type 'typeof A': d, prototype
|
|
+!!! error TS2451: Cannot redeclare block-scoped variable 'A'.
|
|
+!!! related TS6203 a.d.ts:1:15: 'A' was also declared here.
|
|
A.d = { };
|
|
+ ~
|
|
+!!! error TS2339: Property 'd' does not exist on type 'typeof A'.
|
|
|