Skip to content

Instantly share code, notes, and snippets.

@vansika
Created October 14, 2020 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vansika/fc39f9325b2636b9e3fcea015d17e542 to your computer and use it in GitHub Desktop.
Save vansika/fc39f9325b2636b9e3fcea015d17e542 to your computer and use it in GitHub Desktop.
static/js/src/recommendations/RecommendationCard.tsx(49,31): error TS2345: Argument of type 'Recommendation' is not assignable to parameter of type 'Listen'.
type_checker_1 | Property 'listened_at' is missing in type 'Recommendation' but required in type 'Listen'.
type_checker_1 | static/js/src/recommendations/RecommendationCard.tsx(56,34): error TS2345: Argument of type 'Recommendation' is not assignable to parameter of type 'Listen'.
type_checker_1 | static/js/src/recommendations/Recommendations.tsx(67,44): error TS2345: Argument of type 'Recommendation' is not assignable to parameter of type 'Listen'.
type_checker_1 | static/js/src/recommendations/Recommendations.tsx(273,15): error TS2322: Type 'Recommendation | undefined' is not assignable to type 'Listen | undefined'.
type_checker_1 | Type 'Recommendation' is not assignable to type 'Listen'.
type_checker_1 | static/js/src/recommendations/Recommendations.tsx(275,15): error TS2322: Type 'Recommendation[]' is not assignable to type 'Listen[]'.
type_checker_1 | Type 'Recommendation' is not assignable to type 'Listen'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment