-
-
Save radix/28346049acb82b1f7200e6ce98ef518b 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
ERROR in ./src/typescript/PlayerView.tsx | |
(22,10): error TS2322: Type '{ children: Element[]; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<TabbedView> & Readonly<{ children?: ReactNode; }> ...'. | |
Type '{ children: Element[]; }' is not assignable to type 'Readonly<TabbedViewProps>'. | |
Types of property 'children' are incompatible. | |
Type 'Element[]' is not assignable to type 'ComponentElement<any, Tab>[]'. | |
Type 'Element' is not assignable to type 'ComponentElement<any, Tab>'. | |
Types of property 'type' are incompatible. | |
Type 'string | ComponentClass<any> | StatelessComponent<any>' is not assignable to type 'ComponentClass<any>'. | |
Type 'string' is not assignable to type 'ComponentClass<any>'. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment