@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 +6 -6
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{init-DotCbO2b.mjs → init-BVQKw3ZX.mjs} +25 -17
- package/dist/init-BVQKw3ZX.mjs.map +1 -0
- package/dist/internal.mjs +1 -1
- package/dist/run.mjs +3 -3
- package/dist/{src-DCAbFhpy.mjs → src-BD5OAshH.mjs} +3 -2
- package/dist/src-BD5OAshH.mjs.map +1 -0
- package/package.json +4 -4
- package/dist/init-DotCbO2b.mjs.map +0 -1
- package/dist/src-DCAbFhpy.mjs.map +0 -1
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<
|
|
811
|
-
type
|
|
812
|
-
type CallCtor = (
|
|
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
|
|
817
|
-
constructor(
|
|
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: (
|
|
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`). */
|