Files
tsgo/testdata/baselines/reference/submodule/conformance/jsDeclarationsModuleReferenceHasEmit(target=es2015).errors.txt.diff
ac28acd667 Port TypeScript PR #63054: Default types to [], support "*" wildcard (#2688)
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]>
2026-03-09 21:20:05 +00:00

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;