Skip to content

Commit 3283bc1

Browse files
Stefan SchubertStefan Schubert
authored andcommitted
add init of cancelMap
1 parent df4fb1d commit 3283bc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mustache/api.service.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export class {{classname}} {
6767
protected basePath = '{{{basePath}}}';
6868
public defaultHeaders = new {{#useHttpClient}}Http{{/useHttpClient}}Headers();
6969
public configuration = new Configuration();
70-
private cancelMap: {[key: string]: Subject<any>};
70+
private cancelMap: {[key: string]: Subject<any>} = {};
7171

7272
constructor(protected {{#useHttpClient}}httpClient: HttpClient{{/useHttpClient}}{{^useHttpClient}}http: Http{{/useHttpClient}}, @Optional()@Inject(BASE_PATH) basePath: string, @Optional() configuration: Configuration) {
7373

0 commit comments

Comments
 (0)