Skip to content

Commit 2106a24

Browse files
committed
build: fix build errors
1 parent af27f68 commit 2106a24

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { ComponentsObject } from "./components";
22
import type { InfoObject } from "./info";
33
import type { PathsObject } from "./paths";
4-
import { ServerObject } from "./server";
4+
import type { ServerObject } from "./server";
55
import type { TagObject } from "./tag";
66

77
type AtLeastOne<T, U = { [K in keyof T]: Pick<T, K> }> = Partial<T> & U[keyof U];

src/server.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ export type ServerObject = {
1111
* A map between a variable name and its value. The value is used for substitution in the server's URL template.
1212
*/
1313
variables?: Record<string, ServerVariableObject>,
14-
}
14+
};
1515

16-
export type ServerVariableObject = {
16+
type ServerVariableObject = {
1717
/**
1818
* An enumeration of string values to be used if the substitution options are from a limited set. The array MUST NOT be empty.
1919
*/
@@ -26,4 +26,4 @@ export type ServerVariableObject = {
2626
* An optional description for the server variable. CommonMark syntax MAY be used for rich text representation.
2727
*/
2828
description: string,
29-
}
29+
};

0 commit comments

Comments
 (0)