robisim74 / angular-l10n

Angular library to translate texts, dates and numbers
MIT License
380 stars 59 forks source link

Thanks a lot for pr! Yes it is only an environmental problem: this library has in the `tsconfig` `"noImplicitAny": true` #269

Closed Raviniki closed 4 years ago

Raviniki commented 4 years ago

Thanks a lot for pr! Yes it is only an environmental problem: this library has in the tsconfig "noImplicitAny": true

Originally posted by @robisim74 in https://github.com/robisim74/angular-l10n/issues/9#issuecomment-220242510 Still Not Work
I have Code Like getEmployeeByCode(empCode: string): Observable { return this._http.get('https://localhost:44300/api/employees/' + empCode) .map((response: Response) => response.json()).catch(this.handleError); } // Notice the method return type is Observable<IEmployee[]> getEmployees(): Observable<IEmployee[]> {

    return this._http.get('https://localhost:44300/api/employees')
        .map((response: Response) => <IEmployee[]>response.json()).catch(this.handleError);
}

I Getting Broblem For Obsrvable<IEmployee[]> vs Observable I employee is Interface Class Declare In another Ts File

robisim74 commented 4 years ago

@Raviniki You are referring to an issue over three years ago. Also I don't see the use of angular-l10n library in your code. So I'm closing this issue.

Raviniki commented 4 years ago

Never mind I get a solution

On Mon, Nov 18, 2019, 7:53 AM Roberto Simonetti notifications@github.com wrote:

@Raviniki https://github.com/Raviniki You are referring to an issue over three years ago. Also I don't see the use of angular-l10n library in your code. So I'm closing this issue.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/robisim74/angular-l10n/issues/269?email_source=notifications&email_token=ALJFU5RLTUW6ITQ7LIF6HVTQUKF2ZA5CNFSM4JOMKFEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEKKVXI#issuecomment-555002589, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALJFU5T7Y5JOJUVTIPJ4S6DQUKF2ZANCNFSM4JOMKFEA .