@marko/language-tools 2.5.37 → 2.5.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2110,10 +2110,9 @@ var ScriptExtractor = class {
2110
2110
  if (isExternalComponentFile) {
2111
2111
  if (this.#scriptLang === "ts" /* ts */) {
2112
2112
  this.#extractor.write(
2113
- `import type Component from "${stripExt(
2113
+ `export interface Component extends ${varShared("ResolveComponent")}<typeof import("${stripExt(
2114
2114
  (0, import_relative_import_path.relativeImportPath)(this.#filename, componentFileName)
2115
- )}";
2116
- export { type Component }
2115
+ )}")> {}
2117
2116
  `
2118
2117
  );
2119
2118
  } else {
package/dist/index.mjs CHANGED
@@ -2073,10 +2073,9 @@ var ScriptExtractor = class {
2073
2073
  if (isExternalComponentFile) {
2074
2074
  if (this.#scriptLang === "ts" /* ts */) {
2075
2075
  this.#extractor.write(
2076
- `import type Component from "${stripExt(
2076
+ `export interface Component extends ${varShared("ResolveComponent")}<typeof import("${stripExt(
2077
2077
  relativeImportPath(this.#filename, componentFileName)
2078
- )}";
2079
- export { type Component }
2078
+ )}")> {}
2080
2079
  `
2081
2080
  );
2082
2081
  } else {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@marko/language-tools",
3
3
  "description": "Marko Language Tools",
4
- "version": "2.5.37",
4
+ "version": "2.5.38",
5
5
  "bugs": "https://github.com/marko-js/language-server/issues/new?template=Bug_report.md",
6
6
  "peerDependencies": {
7
7
  "@marko/compiler": "^5.28.4"