Skip to content

Commit f4e8f65

Browse files
author
Luis Fernando Planella Gonzalez
committed
Unnecessary map import on services when generating with promises
Fixes #377
1 parent 35d58b2 commit f4e8f65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/service.handlebars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import { Injectable } from '@angular/core';
77
import { firstValueFrom } from 'rxjs';
88
{{else}}
99
import { Observable } from 'rxjs';
10-
{{/if}}
1110
import { map } from 'rxjs/operators';
11+
{{/if}}
1212

1313
import { {{baseServiceClass}} } from '../{{baseServiceFile}}';
1414
import { {{configurationClass}} } from '../{{configurationFile}}';

0 commit comments

Comments
 (0)