Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- error TS2345: Argument of type '(child: { tagName: string; }) => boolean' is not assignable to parameter of type '(value: {}, index: number, obj: {}[]) => boolean'.
- Types of parameters 'child' and 'value' are incompatible.
- Property 'tagName' is missing in type '{}' but required in type '{ tagName: string; }'.
- 17 (child: { tagName: string }): boolean => child.tagName === 'AUDIO',
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/components/Subscriber/Subscriber.tsx:17:17
- 17 (child: { tagName: string }): boolean => child.tagName === 'AUDIO',
- ~~~~~~~
- 'tagName' is declared here.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement