@hey-api/openapi-ts 0.0.0-next-20260223100743 → 0.0.0-next-20260223231818

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.mts CHANGED
@@ -807,14 +807,14 @@ interface ExprMethods extends Node {
807
807
  }
808
808
  //#endregion
809
809
  //#region src/ts-dsl/expr/call.d.ts
810
- type CallArgs = ReadonlyArray<CallExpr | undefined>;
811
- type CallExpr = NodeName | MaybeTsDsl<ts.Expression>;
812
- type CallCtor = (expr: CallExpr, ...args: CallArgs) => CallTsDsl;
810
+ type CallArgs = ReadonlyArray<CallCallee | undefined>;
811
+ type CallCallee = NodeName | MaybeTsDsl<ts.Expression>;
812
+ type CallCtor = (callee: CallCallee, ...args: CallArgs) => CallTsDsl;
813
813
  declare const Mixed$40: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.CallExpression>, TypeArgsMethods>, ExprMethods>, AsMethods>, ArgsMethods>;
814
814
  declare class CallTsDsl extends Mixed$40 {
815
815
  readonly '~dsl' = "CallTsDsl";
816
- protected _callExpr: Ref<CallExpr>;
817
- constructor(expr: CallExpr, ...args: CallArgs);
816
+ protected _callee: Ref<CallCallee>;
817
+ constructor(callee: CallCallee, ...args: CallArgs);
818
818
  analyze(ctx: AnalysisContext): void;
819
819
  toAst(): ts.CallExpression;
820
820
  }
@@ -2075,7 +2075,7 @@ declare const $: ((id: ts.Expression | TsDsl<ts.Expression> | _hey_api_codegen_c
2075
2075
  /** Creates a statement block (`{ ... }`). */
2076
2076
  block: (...args: ConstructorParameters<typeof BlockTsDsl>) => BlockTsDsl;
2077
2077
  /** Creates a function or method call expression (e.g. `fn(arg)`). */
2078
- call: (expr: CallExpr, ...args: (CallExpr | undefined)[]) => CallTsDsl;
2078
+ call: (callee: CallCallee, ...args: (CallCallee | undefined)[]) => CallTsDsl;
2079
2079
  /** Creates a class declaration or expression. */
2080
2080
  class: (name: _hey_api_codegen_core0.NodeName) => ClassTsDsl;
2081
2081
  /** Creates a constant variable declaration (`const`). */