@vue-jsx-vapor/macros 3.2.1 → 3.2.2

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/volar.cjs CHANGED
@@ -342,15 +342,6 @@ const plugin = (0, ts_macro.createPlugin)(({ ts }, userOptions = {}) => {
342
342
  };
343
343
  const rootMap = getRootMap(options);
344
344
  if (rootMap.size) transformJsxMacros(rootMap, options);
345
- /**
346
- * JSX and inline import types co-usage will break TS.
347
- * So use `import ''` to fixed it
348
- * ```tsx
349
- * const foo = <div></div>
350
- * const bar = {} as import('vue').ShallowUnwrapRef<any>
351
- * ```
352
- */
353
- codes.unshift("import '';\n");
354
345
  codes.push(getGlobalTypes(rootMap, options));
355
346
  }
356
347
  };
package/dist/volar.js CHANGED
@@ -340,15 +340,6 @@ const plugin = createPlugin(({ ts }, userOptions = {}) => {
340
340
  };
341
341
  const rootMap = getRootMap(options);
342
342
  if (rootMap.size) transformJsxMacros(rootMap, options);
343
- /**
344
- * JSX and inline import types co-usage will break TS.
345
- * So use `import ''` to fixed it
346
- * ```tsx
347
- * const foo = <div></div>
348
- * const bar = {} as import('vue').ShallowUnwrapRef<any>
349
- * ```
350
- */
351
- codes.unshift("import '';\n");
352
343
  codes.push(getGlobalTypes(rootMap, options));
353
344
  }
354
345
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vue-jsx-vapor/macros",
3
3
  "type": "module",
4
- "version": "3.2.1",
4
+ "version": "3.2.2",
5
5
  "description": "Macros for Vue JSX Vapor",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/vuejs/vue-jsx-vapor#readme",