@vue-jsx-vapor/compiler 0.2.3 → 0.2.4

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.d.cts CHANGED
@@ -324,7 +324,7 @@ declare function createStructuralDirectiveTransform(name: string | string[], fn:
324
324
  interface VaporCodegenResult extends Omit<VaporCodegenResult$1, 'ast'> {
325
325
  ast: RootIRNode;
326
326
  }
327
- declare function compile(root: JSXElement | JSXFragment, options?: CompilerOptions): VaporCodegenResult;
327
+ declare function compile(source: JSXElement | JSXFragment | string, options?: CompilerOptions): VaporCodegenResult;
328
328
  type CompilerOptions = HackOptions<CompilerOptions$1> & {
329
329
  source?: string;
330
330
  };
package/dist/index.d.ts CHANGED
@@ -324,7 +324,7 @@ declare function createStructuralDirectiveTransform(name: string | string[], fn:
324
324
  interface VaporCodegenResult extends Omit<VaporCodegenResult$1, 'ast'> {
325
325
  ast: RootIRNode;
326
326
  }
327
- declare function compile(root: JSXElement | JSXFragment, options?: CompilerOptions): VaporCodegenResult;
327
+ declare function compile(source: JSXElement | JSXFragment | string, options?: CompilerOptions): VaporCodegenResult;
328
328
  type CompilerOptions = HackOptions<CompilerOptions$1> & {
329
329
  source?: string;
330
330
  };