Strict done!!

This commit is contained in:
2020-11-23 16:42:54 +05:30
parent af343cb7f9
commit afe746ecdc
142 changed files with 1258 additions and 907 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ const serviceName = 'RoleService';
export class RoleService {
constructor(private http: HttpClient, private log: ErrorLoggerService) {}
get(id: string): Observable<Role> {
get(id: string | null): Observable<Role> {
const getUrl: string = id === null ? `${url}` : `${url}/${id}`;
return <Observable<Role>>(
this.http