Created
October 14, 2020 15:57
-
-
Save vansika/5c3e4b39cf60825a87c143dbdb29ca84 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static/js/src/recommendations/RecommendationCard.tsx(49,31): error TS2345: Argument of type 'BaseListenFormat' is not assignable to parameter of type 'Listen'. | |
type_checker_1 | Property 'listened_at' is missing in type 'BaseListenFormat' but required in type '{ listened_at: number; listened_at_iso?: string | null | undefined; playing_now?: boolean | null | undefined; score?: number | undefined; }'. | |
type_checker_1 | static/js/src/recommendations/RecommendationCard.tsx(56,34): error TS2345: Argument of type 'BaseListenFormat' is not assignable to parameter of type 'Listen'. | |
type_checker_1 | Type 'BaseListenFormat' is not assignable to type '{ listened_at: number; listened_at_iso?: string | null | undefined; playing_now?: boolean | null | undefined; score?: number | undefined; }'. | |
type_checker_1 | static/js/src/recommendations/Recommendations.tsx(67,44): error TS2345: Argument of type 'BaseListenFormat' is not assignable to parameter of type 'Listen'. | |
type_checker_1 | Type 'BaseListenFormat' is not assignable to type '{ listened_at: number; listened_at_iso?: string | null | undefined; playing_now?: boolean | null | undefined; score?: number | undefined; }'. | |
type_checker_1 | static/js/src/recommendations/Recommendations.tsx(273,15): error TS2322: Type 'BaseListenFormat | undefined' is not assignable to type 'Listen | undefined'. | |
type_checker_1 | Type 'BaseListenFormat' is not assignable to type 'Listen'. | |
type_checker_1 | Type 'BaseListenFormat' is not assignable to type '{ listened_at: number; listened_at_iso?: string | null | undefined; playing_now?: boolean | null | undefined; score?: number | undefined; }'. | |
type_checker_1 | static/js/src/recommendations/Recommendations.tsx(275,15): error TS2322: Type 'BaseListenFormat[]' is not assignable to type 'Listen[]'. | |
type_checker_1 | Type 'BaseListenFormat' is not assignable to type 'Listen'. | |
type_checker_1 | Type 'BaseListenFormat' is not assignable to type '{ listened_at: number; listened_at_iso?: string | null | undefined; playing_now?: boolean | null | undefined; score?: number | undefined; }'. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment