Skip to content

Commit e228fb0

Browse files
authored
fix(utils): explicit return type of LlmJson.validate(). (#1807)
1 parent 1fd1196 commit e228fb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/utils/src/utils/LlmJson.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export namespace LlmJson {
123123
export function validate(
124124
parameters: ILlmSchema.IParameters,
125125
equals?: boolean | undefined,
126-
) {
126+
): (input: unknown) => IValidation<unknown> {
127127
const components: OpenApi.IComponents = {
128128
schemas: {},
129129
};

0 commit comments

Comments
 (0)