Hey everyone, I've been struggling with a problem for hours now and I can't seem to fix it. Here is the interface I'm working with:
import { HttpClient } from '@angular/common/http';
import { Response } from '@angular/http';
import { L10nTranslationService } from 'angular-l10n';
import { Observable } from 'rxjs';
import { APIConfigService } from '../../api.config.service';
import { AuthService } from '../../shared/auth.service';
import { LoggerService } from '../../shared/logger.service';
import { Kernantwort } from '../../shared/response/kernantwort.model';
import { OaseListe } from './oaseliste.model';
export declare class RestService {
//...Content of the interface
And here is how I've implemented this interface:
import { Injectable } from '@angular/core';
import { Response, ResponseType } from '@angular/http';
//...Other imports
const PATH_FILE = 'app/protected/immerdrin/rest.service.impl.ts';
@Injectable()
export class RestServiceImpl extends RestService {
//...Implementation details
Upon trying to launch the application, I encounter the following error:
Error: ./src/app/protected/immerdrin/rest.service.impl.ts:19:32-43 - export 'RestService' (imported as 'RestService') was not found in './rest.service.interface' (module has no exports)
I have no idea why this error is happening. The code worked fine in Angular 7 but after updating to Angular 12, I'm facing this issue. Can anyone provide some insight or help?
Thank you, OASE