File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
modules/openapi-generator/src/main/resources/typescript-nestjs Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3
3
4
4
import { Inject, Injectable, Optional } from '@nestjs/common';
5
5
import { HttpService } from '@nestjs/axios';
6
- import { AxiosResponse } from 'axios';
6
+ import { AxiosResponse, AxiosRequestHeaders } from 'axios';
7
7
import { Observable } from 'rxjs';
8
8
{ {#imports} }
9
9
import { {{classname} } } from '../{ {filename} }';
@@ -29,7 +29,7 @@ export class {{classname}} {
29
29
{{/withInterfaces} }
30
30
31
31
protected basePath = '{ {{basePath} }}';
32
- public defaultHeaders = new Map()
32
+ public defaultHeaders: AxiosRequestHeaders = { } ;
33
33
public configuration = new Configuration();
34
34
35
35
constructor(protected httpClient: HttpService, @Optional() configuration: Configuration) {
You can’t perform that action at this time.
0 commit comments