I have just opened a new web api project using Angular. This is the first time I've been using Angular. I worked according to this guide: https://angular.io/guide/visual-studio-2015 But I get errors. Does anyone know how to solve this? Thanks!
erroe 1 :
Severity Code Description Project File Line Suppression State Error TS2416 (TS) Property 'lift' in type 'Subject' is not assignable to the same property in base type 'Observable'. Type '(operator: Operator) => Observable' is not assignable to type '(operator: Operator) => Observable'. Type 'Observable' is not assignable to type 'Observable'. Type 'T' is not assignable to type 'R'. C:\Users\איתי\source\repos\Ctaxi - WeWorkShop\Ctaxi - WeWorkShop\src (tsconfig or jsconfig project) C:\Users\איתי\source\repos\Ctaxi - WeWorkShop\Ctaxi - WeWorkShop\node_modules\rxjs\Subject.d.ts 24 Active
error 2:
Severity Code Description Project File Line Suppression State Error TS2559 (TS) Type 'By' has no properties in common with type 'Locator'. C:\Users\איתי\source\repos\Ctaxi - WeWorkShop\Ctaxi - WeWorkShop\e2e (tsconfig or jsconfig project) C:\Users\איתי\source\repos\Ctaxi - WeWorkShop\Ctaxi - WeWorkShop\e2e\app.e2e-spec.ts 12 Active
Aucun commentaire:
Enregistrer un commentaire