Skip to content

Commit 1eef3ef

Browse files
committed
Fix type errors in index.d.ts
Signed-off-by: Sora Morimoto <[email protected]>
1 parent 7413b52 commit 1eef3ef

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ interface GenerateApiParamsBase {
88
*/
99
name?: string;
1010

11-
/**
11+
/**
1212
* name of the main exported class
1313
*/
1414
apiClassName?: string;
@@ -181,7 +181,7 @@ interface GenerateApiParamsBase {
181181
extractingOptions?: Partial<ExtractingOptions>;
182182

183183
/** configuration for fetching swagger schema requests */
184-
requestOptions?: null | Partial<import("node-fetch").RequestInit>;
184+
requestOptions?: null | Partial<RequestInit>;
185185

186186
/** ts compiler configuration object (for --to-js option) */
187187
compilerTsConfig?: Record<string, any>;
@@ -682,7 +682,7 @@ export interface GenerateApiConfiguration {
682682
};
683683
routeNameDuplicatesMap: Map<string, string>;
684684
apiClassName: string;
685-
requestOptions?: import("node-fetch").RequestInit;
685+
requestOptions?: RequestInit;
686686
extractingOptions: ExtractingOptions;
687687
};
688688
modelTypes: ModelType[];
@@ -697,7 +697,7 @@ export interface GenerateApiConfiguration {
697697
routes: ParsedRoute[];
698698
}[];
699699
};
700-
requestOptions?: null | Partial<import("node-fetch").RequestInit>;
700+
requestOptions?: null | Partial<RequestInit>;
701701
utils: {
702702
formatDescription: (description: string, inline?: boolean) => string;
703703
internalCase: (value: string) => string;

0 commit comments

Comments
 (0)