mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
ac28acd667
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: RyanCavanaugh <[email protected]> Co-authored-by: Jake Bailey <[email protected]> Co-authored-by: Ryan Cavanaugh <[email protected]>
26 lines
916 B
Diff
26 lines
916 B
Diff
--- old.jsDeclarationsModuleReferenceHasEmit(target=es2015).errors.txt
|
|
+++ new.jsDeclarationsModuleReferenceHasEmit(target=es2015).errors.txt
|
|
@@= skipped -0, +0 lines =@@
|
|
-<no content>
|
|
+index.js(9,11): error TS2591: Cannot find name 'module'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
|
|
+index.js(9,17): error TS1005: '}' expected.
|
|
+
|
|
+
|
|
+==== index.js (2 errors) ====
|
|
+ /**
|
|
+ * @module A
|
|
+ */
|
|
+ class A {}
|
|
+
|
|
+
|
|
+ /**
|
|
+ * Target element
|
|
+ * @type {module:A}
|
|
+ ~~~~~~
|
|
+!!! error TS2591: Cannot find name 'module'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
|
|
+ ~
|
|
+!!! error TS1005: '}' expected.
|
|
+ */
|
|
+ export let el = null;
|
|
+
|
|
+ export default A;
|