Skip to content

Commit 2cca2d6

Browse files
committed
_
Signed-off-by: Sora Morimoto <sora@morimoto.io>
1 parent 5f04c10 commit 2cca2d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

types/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import type { Spec } from "swagger-schema-official";
12
import type { ComponentTypeNameResolver } from "../src/component-type-name-resolver.js";
23
import type { HTTP_CLIENT } from "../src/constants.js";
34
import type { Translator } from "../src/translators/translator.js";
@@ -410,7 +411,7 @@ export interface GenerateApiConfiguration {
410411
/**
411412
* swagger schema JSON
412413
*/
413-
spec: unknown;
414+
spec: Spec;
414415
/**
415416
* default 'api.ts'
416417
*/

0 commit comments

Comments
 (0)