Skip to content

Instantly share code, notes, and snippets.

@skayred
Created July 13, 2017 12:42
Show Gist options
  • Save skayred/6dd87565846118b8aeedb8b98f47ba98 to your computer and use it in GitHub Desktop.
Save skayred/6dd87565846118b8aeedb8b98f47ba98 to your computer and use it in GitHub Desktop.
ERROR in ./src/app/components/subscribe/sub_dialog.tsx
(84,9): error TS2605: JSX element type 'Button' is not a constructor function for JSX elements.
ERROR in ./src/app/components/subscribe/sub_dialog.tsx
(125,9): error TS2605: JSX element type 'Button' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: IButtonProps) => Pick<void, K>, callback?: (() =>...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: IButtonProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/components/selected_posts/selected_posts.tsx
(2,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'Link'.
ERROR in ./src/app/components/search/search.tsx
(2,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'Link'.
ERROR in ./src/app/components/search/search.tsx
(40,13): error TS2605: JSX element type 'TextField' is not a constructor function for JSX elements.
ERROR in ./src/app/components/rating_table/rating_table.tsx
(3,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'browserHistory'.
ERROR in ./src/app/components/rating_table/rating_table.tsx
(142,27): error TS2605: JSX element type 'AuthorBlock' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: IProps) => Pick<void, K>, callback?: (() => any) ...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: IProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/components/rating_table/rating_table.tsx
(148,27): error TS2605: JSX element type 'AuthorBlock' is not a constructor function for JSX elements.
ERROR in ./src/app/components/post_card/tags.tsx
(3,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'Link'.
ERROR in ./src/app/components/post_card/post_card.tsx
(3,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'Link'.
ERROR in ./src/app/components/post_card/post_card.tsx
(274,17): error TS2605: JSX element type 'AuthorBlock' is not a constructor function for JSX elements.
ERROR in ./src/app/components/post_card/post_card.tsx
(371,17): error TS2605: JSX element type 'StringLazyLoad' is not a constructor function for JSX elements.
ERROR in ./src/app/components/post_card/post_card.tsx
(412,13): error TS2605: JSX element type 'SocialNetworkShare' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: IProps) => Pick<void, K>, callback?: (() => any) ...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: IProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/components/pagination/pagination.tsx
(4,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'Link'.
ERROR in ./src/app/components/nav/nav.tsx
(183,11): error TS2605: JSX element type 'NavList' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: IProps) => Pick<void, K>, callback?: (() => any) ...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: IProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/components/nav/nav.tsx
(194,27): error TS2339: Property 'to' does not exist on type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.
ERROR in ./src/app/components/nav/nav_list.tsx
(2,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'Link'.
ERROR in ./src/app/components/nav/category.tsx
(2,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'Link'.
ERROR in ./src/app/components/list_item/list_item.tsx
(2,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'Link'.
ERROR in ./src/app/components/list_item/list_item.tsx
(112,22): error TS7006: Parameter 'linkCard' implicitly has an 'any' type.
ERROR in ./src/app/components/list_item/list_item.tsx
(176,13): error TS2605: JSX element type 'StringLazyLoad' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: ILazyLoadProps<string>) => Pick<void, K>, callbac...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: ILazyLoadProps<string>) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/components/list/list.tsx
(33,3): error TS2322: Type '{ router: Requireable<any>; }' is not assignable to type 'void'.
ERROR in ./src/app/components/list/list.tsx
(127,13): error TS2605: JSX element type 'Pagination' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: IProps) => Pick<void, K>, callback?: (() => any) ...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: IProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/components/list/list_header.tsx
(3,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'Link'.
ERROR in ./src/app/components/list/list_header.tsx
(5,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'browserHistory'.
ERROR in ./src/app/components/likes/likes.tsx
(3,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'Link'.
ERROR in ./src/app/components/likes/likes.tsx
(104,21): error TS2605: JSX element type 'Preloader' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: IPreloaderProps) => Pick<void, K>, callback?: (()...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: IPreloaderProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/components/likes/likes.tsx
(134,21): error TS2605: JSX element type 'Preloader' is not a constructor function for JSX elements.
ERROR in ./src/app/components/likes/likes.tsx
(147,9): error TS2605: JSX element type 'Dialog' is not a constructor function for JSX elements.
ERROR in ./src/app/components/likes/likes.tsx
(154,9): error TS2605: JSX element type 'Dialog' is not a constructor function for JSX elements.
ERROR in ./src/app/components/discussed/discussed_item.tsx
(2,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'Link'.
ERROR in ./src/app/components/discussed/discussed_item.tsx
(65,13): error TS2605: JSX element type 'StringLazyLoad' is not a constructor function for JSX elements.
ERROR in ./src/app/components/dialog/dialog.tsx
(21,11): error TS2605: JSX element type 'Popup' is not a constructor function for JSX elements.
ERROR in ./src/app/components/complaint/complaint.tsx
(58,5): error TS2605: JSX element type 'OutsideClick' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: IOutsideClickProps) => Pick<void, K>, callback?: ...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: IOutsideClickProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/components/complaint/complaint.tsx
(59,7): error TS2605: JSX element type 'Popup' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: IPopupProps) => Pick<void, K>, callback?: (() => ...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: IPopupProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/components/complaint/complaint.tsx
(73,7): error TS2605: JSX element type 'OutsideClick' is not a constructor function for JSX elements.
ERROR in ./src/app/components/complaint/complaint.tsx
(74,9): error TS2605: JSX element type 'Popup' is not a constructor function for JSX elements.
ERROR in ./src/app/components/complaint/complaint.tsx
(83,7): error TS2605: JSX element type 'OutsideClick' is not a constructor function for JSX elements.
ERROR in ./src/app/components/complaint/complaint.tsx
(84,9): error TS2605: JSX element type 'Popup' is not a constructor function for JSX elements.
ERROR in ./src/app/components/comments/comment.tsx
(104,13): error TS2605: JSX element type 'StringLazyLoad' is not a constructor function for JSX elements.
ERROR in ./src/app/components/comments/comment_form.tsx
(173,9): error TS2605: JSX element type 'OutsideClick' is not a constructor function for JSX elements.
ERROR in ./src/app/components/comments/comment_form.tsx
(183,15): error TS2605: JSX element type 'StringLazyLoad' is not a constructor function for JSX elements.
ERROR in ./src/app/components/comments/comment_form.tsx
(236,37): error TS2322: Type 'HTMLTextAreaElement | null' is not assignable to type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
ERROR in ./src/app/components/comments/comment_form.tsx
(237,33): error TS2314: Generic type 'FormEvent<T>' requires 1 type argument(s).
ERROR in ./src/app/components/comments/comment_form.tsx
(271,35): error TS2314: Generic type 'FormEvent<T>' requires 1 type argument(s).
ERROR in ./src/app/components/comments/comment_form.tsx
(299,33): error TS2314: Generic type 'FormEvent<T>' requires 1 type argument(s).
ERROR in ./src/app/components/comments/comment_form.tsx
(386,7): error TS2605: JSX element type 'CheckboxField' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: ICheckboxFieldProps) => Pick<void, K>, callback?:...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: ICheckboxFieldProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/components/comments/comment_form.tsx
(403,7): error TS2605: JSX element type 'CheckboxField' is not a constructor function for JSX elements.
ERROR in ./src/app/components/comments/answer.tsx
(88,11): error TS2605: JSX element type 'StringLazyLoad' is not a constructor function for JSX elements.
ERROR in ./src/app/components/client_add_form/client_add_form.tsx
(263,29): error TS2314: Generic type 'KeyboardEvent<T>' requires 1 type argument(s).
ERROR in ./src/app/components/client_add_form/client_add_form.tsx
(279,29): error TS2314: Generic type 'KeyboardEvent<T>' requires 1 type argument(s).
ERROR in ./src/app/components/client_add_form/client_add_form.tsx
(601,7): error TS2605: JSX element type 'TextField' is not a constructor function for JSX elements.
ERROR in ./src/app/components/client_add_form/client_add_form.tsx
(618,7): error TS2605: JSX element type 'TextField' is not a constructor function for JSX elements.
ERROR in ./src/app/components/client_add_form/client_add_form.tsx
(656,41): error TS2322: Type 'HTMLInputElement | null' is not assignable to type 'HTMLInputElement'.
Type 'null' is not assignable to type 'HTMLInputElement'.
ERROR in ./src/app/components/client_add_form/client_add_form.tsx
(849,30): error TS2322: Type 'HTMLInputElement | null' is not assignable to type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
ERROR in ./src/app/components/client_add_form/client_add_form.tsx
(857,30): error TS2322: Type 'HTMLInputElement | null' is not assignable to type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
ERROR in ./src/app/components/client_add_form/client_add_form.tsx
(883,15): error TS2605: JSX element type 'Tag' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: ITagProps) => Pick<void, K>, callback?: (() => an...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: ITagProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/components/client_add_form/client_add_form.tsx
(885,19): error TS2339: Property 'id' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Tag> & Readonly<{ children?: ReactNode; }> & Reado...'.
ERROR in ./src/app/components/client_add_form/client_add_form.tsx
(913,11): error TS2605: JSX element type 'CheckboxField' is not a constructor function for JSX elements.
ERROR in ./src/app/components/client_add_form/client_add_form.tsx
(929,7): error TS2605: JSX element type 'Button' is not a constructor function for JSX elements.
ERROR in ./src/app/components/client_add_form/client_add_form.tsx
(971,39): error TS2605: JSX element type 'Button' is not a constructor function for JSX elements.
ERROR in ./src/app/components/bread_crumbs/bread_crumbs.tsx
(22,24): error TS2605: JSX element type 'BreadCrumb' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: IProps) => Pick<void, K>, callback?: (() => any) ...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: IProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/components/bread_crumbs/bread_crumbs_item.tsx
(2,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'Link'.
ERROR in ./src/app/components/blog_list_item/blog_list_item.tsx
(2,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'Link'.
ERROR in ./src/app/components/blog_list_item/blog_list_item.tsx
(147,20): error TS7006: Parameter 'linkCard' implicitly has an 'any' type.
ERROR in ./src/app/components/blog_list_item/blog_list_item.tsx
(155,13): error TS2605: JSX element type 'AuthorBlock' is not a constructor function for JSX elements.
ERROR in ./src/app/components/blog_list_item/blog_list_item.tsx
(198,13): error TS2605: JSX element type 'StringLazyLoad' is not a constructor function for JSX elements.
ERROR in ./src/app/components/adfox/adfox_lazy.tsx
(16,3): error TS2605: JSX element type 'StringLazyLoad' is not a constructor function for JSX elements.
ERROR in /Users/sk_/projects/frontend-content/src/app/tests/components/selected_posts/selected_posts.test.ts
(12,31): error TS2345: Argument of type 'typeof SelectedPosts' is not assignable to parameter of type 'ComponentClass<IProps> | StatelessComponent<IProps>'.
Type 'typeof SelectedPosts' is not assignable to type 'StatelessComponent<IProps>'.
Type 'typeof SelectedPosts' provides no match for the signature '(props: IProps & { children?: ReactNode; }, context?: any): ReactElement<any> | null'.
ERROR in ./src/app/redux/modules/regions/regions.ts
(33,23): error TS2345: Argument of type 'IDropdownValue' is not assignable to parameter of type '{ id: number; displayName: string; }'.
Property 'id' is missing in type 'IDropdownValue'.
ERROR in ./src/app/redux/modules/likes/likes.ts
(13,21): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/app/redux/modules/likes/likes.ts
(43,21): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/app/redux/modules/add_blog/add_blog.ts
(176,21): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/app/redux/store.ts
(7,19): error TS7016: Could not find a declaration file for module 'redux-thunk'. '/Users/sk_/projects/frontend-content/node_modules/redux-thunk/lib/index.js' implicitly has an 'any' type.
ERROR in ./src/app/redux/store.ts
(17,22): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/app/redux/reducers.ts
(37,20): error TS2314: Generic type 'Reducer' requires 1 type argument(s).
ERROR in /Users/sk_/projects/frontend-content/src/app/models/async_props.ts
(2,10): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/app/helpers/request_helper.ts
(21,83): error TS2503: Cannot find namespace 'Redux'.
> [email protected] postbuild /Users/sk_/projects/frontend-content
> webpack --config config/webpack/server.js
ts-loader: Using [email protected] and /Users/sk_/projects/frontend-content/tsconfig.json
Hash: 7e73610720f778337c10
Version: webpack 1.15.0
Time: 23890ms
Asset Size Chunks Chunk Names
h/f98b32ceb4e65ec11ae685fc4b6d5a15.png 69.2 kB [emitted]
../server.js 1.25 MB 0 [emitted] main
[0] ./src/server/index.js 132 bytes {0} [built]
[352] ./config/webpack/dev.js 2.66 kB {0} [built]
+ 356 hidden modules
ERROR in ./src/server/index.tsx
(7,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'createMemoryHistory'.
ERROR in ./src/server/index.tsx
(7,31): error TS6133: 'match' is declared but never used.
ERROR in ./src/server/index.tsx
(8,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router-redux/index"' has no exported member 'syncHistoryWithStore'.
ERROR in ./src/server/index.tsx
(200,12): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/server/index.tsx
(257,90): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/server/index.tsx
(276,3): error TS2693: 'match' only refers to a type, but is being used as a value here.
ERROR in ./src/server/app.tsx
(16,29): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/server/app.tsx
(25,12): error TS2503: Cannot find namespace 'Redux'.
ERROR in /Users/sk_/projects/frontend-content/src/client/widget.tsx
(4,25): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'browserHistory'.
ERROR in /Users/sk_/projects/frontend-content/src/client/widget.tsx
(35,9): error TS2339: Property 'render' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Router> & Readonly<{ children?: ReactNode; }> & Re...'.
ERROR in /Users/sk_/projects/frontend-content/src/client/index.tsx
(7,18): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'browserHistory'.
ERROR in /Users/sk_/projects/frontend-content/src/client/index.tsx
(8,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router-redux/index"' has no exported member 'syncHistoryWithStore'.
ERROR in /Users/sk_/projects/frontend-content/src/client/index.tsx
(59,9): error TS2339: Property 'render' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Router> & Readonly<{ children?: ReactNode; }> & Re...'.
ERROR in /Users/sk_/projects/frontend-content/src/app/tests/components/pagination/pagination.test.tsx
(20,31): error TS2345: Argument of type 'typeof Pagination' is not assignable to parameter of type 'ComponentClass<IProps> | StatelessComponent<IProps>'.
Type 'typeof Pagination' is not assignable to type 'StatelessComponent<IProps>'.
Type 'typeof Pagination' provides no match for the signature '(props: IProps & { children?: ReactNode; }, context?: any): ReactElement<any> | null'.
ERROR in /Users/sk_/projects/frontend-content/src/app/tests/components/nav/nav_list.test.tsx
(39,31): error TS2345: Argument of type 'typeof NavList' is not assignable to parameter of type 'ComponentClass<IProps> | StatelessComponent<IProps>'.
Type 'typeof NavList' is not assignable to type 'StatelessComponent<IProps>'.
Type 'typeof NavList' provides no match for the signature '(props: IProps & { children?: ReactNode; }, context?: any): ReactElement<any> | null'.
ERROR in ./src/app/routes/index.tsx
(37,10): error TS2322: Type '{ path: "/"; component: typeof App; children: Element[]; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Route<RouteProps>> & Readonly<{ children?: ReactNo...'.
Type '{ path: "/"; component: typeof App; children: Element[]; }' is not assignable to type 'Readonly<RouteProps>'.
Types of property 'component' are incompatible.
Type 'typeof App' is not assignable to type 'ComponentClass<{} | RouteComponentProps<any>> | StatelessComponent<{} | RouteComponentProps<any>>...'.
Type 'typeof App' is not assignable to type 'StatelessComponent<{} | RouteComponentProps<any>>'.
ERROR in ./src/app/routes/index.tsx
(37,10): error TS2322: Type '{ path: "/"; component: typeof App; children: Element[]; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Route<RouteProps>> & Readonly<{ children?: ReactNo...'.
Type '{ path: "/"; component: typeof App; children: Element[]; }' is not assignable to type 'Readonly<RouteProps>'.
Types of property 'component' are incompatible.
Type 'typeof App' is not assignable to type 'ComponentClass<{} | RouteComponentProps<any>> | StatelessComponent<{} | RouteComponentProps<any>>...'.
Type 'typeof App' is not assignable to type 'StatelessComponent<{} | RouteComponentProps<any>>'.
Type 'typeof App' provides no match for the signature '(props: { children?: ReactNode; } | (RouteComponentProps<any> & { children?: ReactNode; }), context?: any): ReactElement<any> | null'.
ERROR in ./src/app/routes/index.tsx
(69,12): error TS2322: Type '{ path: "unsubsribe-email"; component: typeof Unsubscribe; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Route<RouteProps>> & Readonly<{ children?: ReactNo...'.
Type '{ path: "unsubsribe-email"; component: typeof Unsubscribe; }' is not assignable to type 'Readonly<RouteProps>'.
Types of property 'component' are incompatible.
Type 'typeof Unsubscribe' is not assignable to type 'ComponentClass<{} | RouteComponentProps<any>> | StatelessComponent<{} | RouteComponentProps<any>>...'.
Type 'typeof Unsubscribe' is not assignable to type 'StatelessComponent<{} | RouteComponentProps<any>>'.
ERROR in ./src/app/routes/index.tsx
(69,12): error TS2322: Type '{ path: "unsubsribe-email"; component: typeof Unsubscribe; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Route<RouteProps>> & Readonly<{ children?: ReactNo...'.
Type '{ path: "unsubsribe-email"; component: typeof Unsubscribe; }' is not assignable to type 'Readonly<RouteProps>'.
Types of property 'component' are incompatible.
Type 'typeof Unsubscribe' is not assignable to type 'ComponentClass<{} | RouteComponentProps<any>> | StatelessComponent<{} | RouteComponentProps<any>>...'.
Type 'typeof Unsubscribe' is not assignable to type 'StatelessComponent<{} | RouteComponentProps<any>>'.
Type 'typeof Unsubscribe' provides no match for the signature '(props: { children?: ReactNode; } | (RouteComponentProps<any> & { children?: ReactNode; }), context?: any): ReactElement<any> | null'.
ERROR in /Users/sk_/projects/frontend-content/src/app/helpers/test_helper.tsx
(4,19): error TS7016: Could not find a declaration file for module 'redux-thunk'. '/Users/sk_/projects/frontend-content/node_modules/redux-thunk/lib/index.js' implicitly has an 'any' type.
ERROR in /Users/sk_/projects/frontend-content/src/app/helpers/test_helper.tsx
(40,12): error TS2605: JSX element type 'ComponentWithContext' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: {}) => Pick<void, K>, callback?: (() => any) | un...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: {}) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/containers/subscribe/subscribe.tsx
(11,13): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/app/containers/subscribe/subscribe.tsx
(29,4): error TS2345: Argument of type 'typeof SubscribeContainer' is not assignable to parameter of type 'Component<DispatchProp<any> & { subscribeStatus: any; }>'.
Type 'typeof SubscribeContainer' is not assignable to type 'StatelessComponent<DispatchProp<any> & { subscribeStatus: any; }>'.
Type 'typeof SubscribeContainer' provides no match for the signature '(props: DispatchProp<any> & { subscribeStatus: any; } & { children?: ReactNode; }, context?: any): ReactElement<any> | null'.
ERROR in ./src/app/containers/seo/seo.tsx
(8,13): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/app/containers/selected_posts/selected_posts.tsx
(18,13): error TS2605: JSX element type 'SelectedPosts' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: IProps) => Pick<void, K>, callback?: (() => any) ...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: IProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/containers/selected_posts/selected_posts.tsx
(26,3): error TS2345: Argument of type 'typeof SelectedPostsContainer' is not assignable to parameter of type 'Component<DispatchProp<any> & { selectedPosts: ISelectedPosts; }>'.
Type 'typeof SelectedPostsContainer' is not assignable to type 'StatelessComponent<DispatchProp<any> & { selectedPosts: ISelectedPosts; }>'.
Type 'typeof SelectedPostsContainer' provides no match for the signature '(props: DispatchProp<any> & { selectedPosts: ISelectedPosts; } & { children?: ReactNode; }, context?: any): ReactElement<any> | null'.
ERROR in ./src/app/containers/search/search.tsx
(14,12): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/app/containers/search/search.tsx
(44,3): error TS2345: Argument of type 'typeof SearchComponent' is not assignable to parameter of type 'Component<DispatchProp<any> & { config: IConfig; search: ISearch; }>'.
Type 'typeof SearchComponent' is not assignable to type 'StatelessComponent<DispatchProp<any> & { config: IConfig; search: ISearch; }>'.
Type 'typeof SearchComponent' provides no match for the signature '(props: DispatchProp<any> & { config: IConfig; search: ISearch; } & { children?: ReactNode; }, context?: any): ReactElement<any> | null'.
ERROR in ./src/app/containers/read_topic/read_topic.tsx
(50,3): error TS2345: Argument of type 'typeof ReadTopicContainer' is not assignable to parameter of type 'Component<DispatchProp<any> & IProps>'.
Type 'typeof ReadTopicContainer' is not assignable to type 'StatelessComponent<DispatchProp<any> & IProps>'.
Type 'typeof ReadTopicContainer' provides no match for the signature '(props: DispatchProp<any> & IProps & { children?: ReactNode; }, context?: any): ReactElement<any> | null'.
ERROR in ./src/app/containers/read_topic/read_topic.tsx
(59,3): error TS2345: Argument of type 'typeof ReadTopicContainer' is not assignable to parameter of type 'Component<DispatchProp<any> & IProps>'.
Type 'typeof ReadTopicContainer' is not assignable to type 'StatelessComponent<DispatchProp<any> & IProps>'.
ERROR in ./src/app/containers/rating_table/rating_table.tsx
(51,3): error TS2345: Argument of type 'typeof RatingTableWidget' is not assignable to parameter of type 'Component<DispatchProp<any> & { rating: IRating; user: IUser; regions: IRegions; }>'.
Type 'typeof RatingTableWidget' is not assignable to type 'StatelessComponent<DispatchProp<any> & { rating: IRating; user: IUser; regions: IRegions; }>'.
Type 'typeof RatingTableWidget' provides no match for the signature '(props: DispatchProp<any> & { rating: IRating; user: IUser; regions: IRegions; } & { children?: ReactNode; }, context?: any): ReactElement<any> | null'.
ERROR in ./src/app/containers/quizes/quizes.tsx
(28,13): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/app/containers/quizes/quizes.tsx
(101,3): error TS2345: Argument of type 'typeof QuizContainer' is not assignable to parameter of type 'Component<DispatchProp<any> & { quizes: IPosts; scroll: IScroll; user: IUser; }>'.
Type 'typeof QuizContainer' is not assignable to type 'StatelessComponent<DispatchProp<any> & { quizes: IPosts; scroll: IScroll; user: IUser; }>'.
Type 'typeof QuizContainer' provides no match for the signature '(props: DispatchProp<any> & { quizes: IPosts; scroll: IScroll; user: IUser; } & { children?: ReactNode; }, context?: any): ReactElement<any> | null'.
ERROR in ./src/app/containers/questions/questions.tsx
(29,13): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/app/containers/questions/questions.tsx
(33,13): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/app/containers/questions/questions.tsx
(151,3): error TS2345: Argument of type 'typeof QuestionsContainer' is not assignable to parameter of type 'Component<DispatchProp<any> & { questions: IPosts; scroll: IScroll; user: IUser; }>'.
Type 'typeof QuestionsContainer' is not assignable to type 'StatelessComponent<DispatchProp<any> & { questions: IPosts; scroll: IScroll; user: IUser; }>'.
Type 'typeof QuestionsContainer' provides no match for the signature '(props: DispatchProp<any> & { questions: IPosts; scroll: IScroll; user: IUser; } & { children?: ReactNode; }, context?: any): ReactElement<any> | null'.
ERROR in /Users/sk_/projects/frontend-content/src/app/containers/profile/profile_widget.tsx
(19,13): error TS2503: Cannot find namespace 'Redux'.
ERROR in /Users/sk_/projects/frontend-content/src/app/containers/profile/profile_widget.tsx
(58,3): error TS2345: Argument of type 'typeof Profile' is not assignable to parameter of type 'Component<{ userID: string; } & DispatchProp<any> & { profileBlogs: IJournal; profileQuestions: I...'.
Type 'typeof Profile' is not assignable to type 'StatelessComponent<{ userID: string; } & DispatchProp<any> & { profileBlogs: IJournal; profileQue...'.
Type 'typeof Profile' provides no match for the signature '(props: { userID: string; } & DispatchProp<any> & { profileBlogs: IJournal; profileQuestions: IJournal; profileAnswers: IAdvices; user: IUser; } & { children?: ReactNode; }, context?: any): ReactElement<any> | null'.
ERROR in ./src/app/containers/post_card/post_card.tsx
(5,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'browserHistory'.
ERROR in ./src/app/containers/post_card/post_card.tsx
(59,13): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/app/containers/news/news.tsx
(28,13): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/app/containers/nav/nav.tsx
(14,13): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/app/containers/nav/nav.tsx
(71,3): error TS2345: Argument of type 'typeof NavClass' is not assignable to parameter of type 'Component<DispatchProp<any> & { breadCrumb: IBreadCrumb; user: IUser; }>'.
Type 'typeof NavClass' is not assignable to type 'StatelessComponent<DispatchProp<any> & { breadCrumb: IBreadCrumb; user: IUser; }>'.
Type 'typeof NavClass' provides no match for the signature '(props: DispatchProp<any> & { breadCrumb: IBreadCrumb; user: IUser; } & { children?: ReactNode; }, context?: any): ReactElement<any> | null'.
ERROR in ./src/app/containers/my_blog/my_blog.tsx
(28,13): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/app/containers/my_blog/my_blog.tsx
(100,3): error TS2345: Argument of type 'typeof BlogsContainer' is not assignable to parameter of type 'Component<DispatchProp<any> & { blogs: IPosts; scroll: IScroll; user: IUser; }>'.
Type 'typeof BlogsContainer' is not assignable to type 'StatelessComponent<DispatchProp<any> & { blogs: IPosts; scroll: IScroll; user: IUser; }>'.
Type 'typeof BlogsContainer' provides no match for the signature '(props: DispatchProp<any> & { blogs: IPosts; scroll: IScroll; user: IUser; } & { children?: ReactNode; }, context?: any): ReactElement<any> | null'.
ERROR in ./src/app/containers/likes/likes.tsx
(18,13): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/app/containers/journal/journal.tsx
(32,13): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/app/containers/journal/journal.tsx
(67,17): error TS2322: Type '{ currentUser: IUser; items: IPostItem[]; pagesCount: number; recordsCount: number; searchTag: st...' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<List> & Readonly<{ children?: ReactNode; }> & Read...'.
Type '{ currentUser: IUser; items: IPostItem[]; pagesCount: number; recordsCount: number; searchTag: st...' is not assignable to type 'Readonly<IProps>'.
Types of property 'listItemClass' are incompatible.
Type 'typeof JournalListItem' is not assignable to type 'ComponentClass<any> | undefined'.
Type 'typeof JournalListItem' is not assignable to type 'ComponentClass<any>'.
Type 'JournalListItem' is not assignable to type 'Component<any, ComponentState>'.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: IProps) => Pick<void, K>, callback?: (() => any) ...' is not assignable to type '{ <K extends never>(f: (prevState: ComponentState, props: any) => Pick<ComponentState, K>, callba...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: ComponentState, props: any) => Pick<ComponentState, any>' is not assignable to type '(prevState: void, props: IProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type 'ComponentState'.
ERROR in ./src/app/containers/journal/journal.tsx
(120,3): error TS2345: Argument of type 'typeof JournalContainer' is not assignable to parameter of type 'Component<DispatchProp<any> & { journal: IJournal; advertising: IAdvertising; scroll: IScroll; us...'.
Type 'typeof JournalContainer' is not assignable to type 'StatelessComponent<DispatchProp<any> & { journal: IJournal; advertising: IAdvertising; scroll: IS...'.
Type 'typeof JournalContainer' provides no match for the signature '(props: DispatchProp<any> & { journal: IJournal; advertising: IAdvertising; scroll: IScroll; user: IUser; } & { children?: ReactNode; }, context?: any): ReactElement<any> | null'.
ERROR in ./src/app/containers/discussed/discussed.tsx
(12,3): error TS2605: JSX element type 'Discussed' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: IProps) => Pick<void, K>, callback?: (() => any) ...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: IProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/containers/bread_crumbs/bread_crumbs.tsx
(16,13): error TS2605: JSX element type 'BreadCrumbs' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: IProps) => Pick<void, K>, callback?: (() => any) ...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: IProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/containers/bread_crumbs/bread_crumbs.tsx
(23,3): error TS2345: Argument of type 'typeof BreadCrumbsClass' is not assignable to parameter of type 'Component<DispatchProp<any> & { breadCrumb: IBreadCrumb; }>'.
Type 'typeof BreadCrumbsClass' is not assignable to type 'StatelessComponent<DispatchProp<any> & { breadCrumb: IBreadCrumb; }>'.
Type 'typeof BreadCrumbsClass' provides no match for the signature '(props: DispatchProp<any> & { breadCrumb: IBreadCrumb; } & { children?: ReactNode; }, context?: any): ReactElement<any> | null'.
ERROR in ./src/app/containers/blogs/blogs.tsx
(29,13): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/app/containers/blogs/blogs.tsx
(33,13): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/app/containers/blogs/blogs.tsx
(135,3): error TS2345: Argument of type 'typeof BlogsContainer' is not assignable to parameter of type 'Component<DispatchProp<any> & { blogs: IPosts; scroll: IScroll; user: IUser; }>'.
Type 'typeof BlogsContainer' is not assignable to type 'StatelessComponent<DispatchProp<any> & { blogs: IPosts; scroll: IScroll; user: IUser; }>'.
Type 'typeof BlogsContainer' provides no match for the signature '(props: DispatchProp<any> & { blogs: IPosts; scroll: IScroll; user: IUser; } & { children?: ReactNode; }, context?: any): ReactElement<any> | null'.
ERROR in ./src/app/containers/aside/aside.tsx
(15,5): error TS2605: JSX element type 'AdvertisingList' is not a constructor function for JSX elements.
ERROR in ./src/app/containers/articles/articles.tsx
(29,13): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/app/containers/app/app.tsx
(41,15): error TS2605: JSX element type 'AdvertisingList' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: IProps) => Pick<void, K>, callback?: (() => any) ...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: IProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/containers/add_question/add_question.tsx
(4,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'browserHistory'.
ERROR in ./src/app/containers/add_question/add_question.tsx
(32,13): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/app/containers/add_blog/add_blog.tsx
(4,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'browserHistory'.
ERROR in ./src/app/containers/add_blog/add_blog.tsx
(30,13): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/app/components/subscribe/unsub_dialog.tsx
(26,7): error TS2605: JSX element type 'Dialog' is not a constructor function for JSX elements.
ERROR in ./src/app/components/subscribe/unsub_dialog.tsx
(57,9): error TS2605: JSX element type 'Button' is not a constructor function for JSX elements.
ERROR in ./src/app/components/subscribe/unsub_dialog.tsx
(92,9): error TS2605: JSX element type 'Button' is not a constructor function for JSX elements.
ERROR in ./src/app/components/subscribe/subscribe.tsx
(80,13): error TS2605: JSX element type 'TextField' is not a constructor function for JSX elements.
ERROR in ./src/app/components/subscribe/sub_dialog.tsx
(35,7): error TS2605: JSX element type 'Dialog' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: IProps) => Pick<void, K>, callback?: (() => any) ...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: IProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/components/subscribe/sub_dialog.tsx
(76,11): error TS2605: JSX element type 'TextField' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: ITextFieldProps) => Pick<void, K>, callback?: (()...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: ITextFieldProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/components/subscribe/sub_dialog.tsx
(84,9): error TS2605: JSX element type 'Button' is not a constructor function for JSX elements.
ERROR in ./src/app/components/subscribe/sub_dialog.tsx
(125,9): error TS2605: JSX element type 'Button' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: IButtonProps) => Pick<void, K>, callback?: (() =>...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: IButtonProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/components/selected_posts/selected_posts.tsx
(2,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'Link'.
ERROR in ./src/app/components/search/search.tsx
(2,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'Link'.
ERROR in ./src/app/components/search/search.tsx
(40,13): error TS2605: JSX element type 'TextField' is not a constructor function for JSX elements.
ERROR in ./src/app/components/rating_table/rating_table.tsx
(3,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'browserHistory'.
ERROR in ./src/app/components/rating_table/rating_table.tsx
(142,27): error TS2605: JSX element type 'AuthorBlock' is not a constructor function for JSX elements.
ERROR in ./src/app/components/rating_table/rating_table.tsx
(148,27): error TS2605: JSX element type 'AuthorBlock' is not a constructor function for JSX elements.
ERROR in ./src/app/components/post_card/tags.tsx
(3,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'Link'.
ERROR in ./src/app/components/post_card/post_card.tsx
(3,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'Link'.
ERROR in ./src/app/components/post_card/post_card.tsx
(274,17): error TS2605: JSX element type 'AuthorBlock' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: IProps) => Pick<void, K>, callback?: (() => any) ...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: IProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/components/post_card/post_card.tsx
(371,17): error TS2605: JSX element type 'StringLazyLoad' is not a constructor function for JSX elements.
ERROR in ./src/app/components/post_card/post_card.tsx
(412,13): error TS2605: JSX element type 'SocialNetworkShare' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: IProps) => Pick<void, K>, callback?: (() => any) ...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: IProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/components/pagination/pagination.tsx
(4,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'Link'.
ERROR in ./src/app/components/nav/nav.tsx
(183,11): error TS2605: JSX element type 'NavList' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: IProps) => Pick<void, K>, callback?: (() => any) ...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: IProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/components/nav/nav.tsx
(194,27): error TS2339: Property 'to' does not exist on type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.
ERROR in ./src/app/components/nav/nav_list.tsx
(2,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'Link'.
ERROR in ./src/app/components/nav/category.tsx
(2,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'Link'.
ERROR in ./src/app/components/list_item/list_item.tsx
(2,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'Link'.
ERROR in ./src/app/components/list_item/list_item.tsx
(112,22): error TS7006: Parameter 'linkCard' implicitly has an 'any' type.
ERROR in ./src/app/components/list_item/list_item.tsx
(176,13): error TS2605: JSX element type 'StringLazyLoad' is not a constructor function for JSX elements.
ERROR in ./src/app/components/list/list.tsx
(33,3): error TS2322: Type '{ router: Requireable<any>; }' is not assignable to type 'void'.
ERROR in ./src/app/components/list/list.tsx
(127,13): error TS2605: JSX element type 'Pagination' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: IProps) => Pick<void, K>, callback?: (() => any) ...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: IProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/components/list/list_header.tsx
(3,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'Link'.
ERROR in ./src/app/components/list/list_header.tsx
(5,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'browserHistory'.
ERROR in ./src/app/components/likes/likes.tsx
(3,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'Link'.
ERROR in ./src/app/components/likes/likes.tsx
(104,21): error TS2605: JSX element type 'Preloader' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: IPreloaderProps) => Pick<void, K>, callback?: (()...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: IPreloaderProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/components/likes/likes.tsx
(134,21): error TS2605: JSX element type 'Preloader' is not a constructor function for JSX elements.
ERROR in ./src/app/components/likes/likes.tsx
(147,9): error TS2605: JSX element type 'Dialog' is not a constructor function for JSX elements.
ERROR in ./src/app/components/likes/likes.tsx
(154,9): error TS2605: JSX element type 'Dialog' is not a constructor function for JSX elements.
ERROR in ./src/app/components/discussed/discussed_item.tsx
(2,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'Link'.
ERROR in ./src/app/components/discussed/discussed_item.tsx
(65,13): error TS2605: JSX element type 'StringLazyLoad' is not a constructor function for JSX elements.
ERROR in ./src/app/components/dialog/dialog.tsx
(21,11): error TS2605: JSX element type 'Popup' is not a constructor function for JSX elements.
ERROR in ./src/app/components/complaint/complaint.tsx
(58,5): error TS2605: JSX element type 'OutsideClick' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: IOutsideClickProps) => Pick<void, K>, callback?: ...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: IOutsideClickProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/components/complaint/complaint.tsx
(59,7): error TS2605: JSX element type 'Popup' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: IPopupProps) => Pick<void, K>, callback?: (() => ...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: IPopupProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/components/complaint/complaint.tsx
(73,7): error TS2605: JSX element type 'OutsideClick' is not a constructor function for JSX elements.
ERROR in ./src/app/components/complaint/complaint.tsx
(74,9): error TS2605: JSX element type 'Popup' is not a constructor function for JSX elements.
ERROR in ./src/app/components/complaint/complaint.tsx
(83,7): error TS2605: JSX element type 'OutsideClick' is not a constructor function for JSX elements.
ERROR in ./src/app/components/complaint/complaint.tsx
(84,9): error TS2605: JSX element type 'Popup' is not a constructor function for JSX elements.
ERROR in ./src/app/components/comments/comment.tsx
(104,13): error TS2605: JSX element type 'StringLazyLoad' is not a constructor function for JSX elements.
ERROR in ./src/app/components/comments/comment_form.tsx
(173,9): error TS2605: JSX element type 'OutsideClick' is not a constructor function for JSX elements.
ERROR in ./src/app/components/comments/comment_form.tsx
(183,15): error TS2605: JSX element type 'StringLazyLoad' is not a constructor function for JSX elements.
ERROR in ./src/app/components/comments/comment_form.tsx
(236,37): error TS2322: Type 'HTMLTextAreaElement | null' is not assignable to type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
ERROR in ./src/app/components/comments/comment_form.tsx
(237,33): error TS2314: Generic type 'FormEvent<T>' requires 1 type argument(s).
ERROR in ./src/app/components/comments/comment_form.tsx
(271,35): error TS2314: Generic type 'FormEvent<T>' requires 1 type argument(s).
ERROR in ./src/app/components/comments/comment_form.tsx
(299,33): error TS2314: Generic type 'FormEvent<T>' requires 1 type argument(s).
ERROR in ./src/app/components/comments/comment_form.tsx
(386,7): error TS2605: JSX element type 'CheckboxField' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: ICheckboxFieldProps) => Pick<void, K>, callback?:...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: ICheckboxFieldProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/components/comments/comment_form.tsx
(403,7): error TS2605: JSX element type 'CheckboxField' is not a constructor function for JSX elements.
ERROR in ./src/app/components/comments/answer.tsx
(88,11): error TS2605: JSX element type 'StringLazyLoad' is not a constructor function for JSX elements.
ERROR in ./src/app/components/client_add_form/client_add_form.tsx
(263,29): error TS2314: Generic type 'KeyboardEvent<T>' requires 1 type argument(s).
ERROR in ./src/app/components/client_add_form/client_add_form.tsx
(279,29): error TS2314: Generic type 'KeyboardEvent<T>' requires 1 type argument(s).
ERROR in ./src/app/components/client_add_form/client_add_form.tsx
(601,7): error TS2605: JSX element type 'TextField' is not a constructor function for JSX elements.
ERROR in ./src/app/components/client_add_form/client_add_form.tsx
(618,7): error TS2605: JSX element type 'TextField' is not a constructor function for JSX elements.
ERROR in ./src/app/components/client_add_form/client_add_form.tsx
(656,41): error TS2322: Type 'HTMLInputElement | null' is not assignable to type 'HTMLInputElement'.
Type 'null' is not assignable to type 'HTMLInputElement'.
ERROR in ./src/app/components/client_add_form/client_add_form.tsx
(849,30): error TS2322: Type 'HTMLInputElement | null' is not assignable to type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
ERROR in ./src/app/components/client_add_form/client_add_form.tsx
(857,30): error TS2322: Type 'HTMLInputElement | null' is not assignable to type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
ERROR in ./src/app/components/client_add_form/client_add_form.tsx
(883,15): error TS2605: JSX element type 'Tag' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: ITagProps) => Pick<void, K>, callback?: (() => an...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: ITagProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/components/client_add_form/client_add_form.tsx
(885,19): error TS2339: Property 'id' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Tag> & Readonly<{ children?: ReactNode; }> & Reado...'.
ERROR in ./src/app/components/client_add_form/client_add_form.tsx
(913,11): error TS2605: JSX element type 'CheckboxField' is not a constructor function for JSX elements.
ERROR in ./src/app/components/client_add_form/client_add_form.tsx
(929,7): error TS2605: JSX element type 'Button' is not a constructor function for JSX elements.
ERROR in ./src/app/components/client_add_form/client_add_form.tsx
(971,39): error TS2605: JSX element type 'Button' is not a constructor function for JSX elements.
ERROR in ./src/app/components/bread_crumbs/bread_crumbs.tsx
(22,24): error TS2605: JSX element type 'BreadCrumb' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: IProps) => Pick<void, K>, callback?: (() => any) ...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: IProps) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in ./src/app/components/bread_crumbs/bread_crumbs_item.tsx
(2,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'Link'.
ERROR in ./src/app/components/blog_list_item/blog_list_item.tsx
(2,10): error TS2305: Module '"/Users/sk_/projects/frontend-content/node_modules/@types/react-router/index"' has no exported member 'Link'.
ERROR in ./src/app/components/blog_list_item/blog_list_item.tsx
(147,20): error TS7006: Parameter 'linkCard' implicitly has an 'any' type.
ERROR in ./src/app/components/blog_list_item/blog_list_item.tsx
(155,13): error TS2605: JSX element type 'AuthorBlock' is not a constructor function for JSX elements.
ERROR in ./src/app/components/blog_list_item/blog_list_item.tsx
(198,13): error TS2605: JSX element type 'StringLazyLoad' is not a constructor function for JSX elements.
ERROR in ./src/app/components/adfox/adfox_lazy.tsx
(16,3): error TS2605: JSX element type 'StringLazyLoad' is not a constructor function for JSX elements.
Types of property 'setState' are incompatible.
Type '{ <K extends never>(f: (prevState: void, props: ILazyLoadProps<string>) => Pick<void, K>, callbac...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
Types of parameters 'f' and 'f' are incompatible.
Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: ILazyLoadProps<string>) => Pick<void, any>'.
Types of parameters 'prevState' and 'prevState' are incompatible.
Type 'void' is not assignable to type '{}'.
ERROR in /Users/sk_/projects/frontend-content/src/app/tests/components/selected_posts/selected_posts.test.ts
(12,31): error TS2345: Argument of type 'typeof SelectedPosts' is not assignable to parameter of type 'ComponentClass<IProps> | StatelessComponent<IProps>'.
Type 'typeof SelectedPosts' is not assignable to type 'StatelessComponent<IProps>'.
Type 'typeof SelectedPosts' provides no match for the signature '(props: IProps & { children?: ReactNode; }, context?: any): ReactElement<any> | null'.
ERROR in ./src/app/redux/modules/regions/regions.ts
(33,23): error TS2345: Argument of type 'IDropdownValue' is not assignable to parameter of type '{ id: number; displayName: string; }'.
Property 'id' is missing in type 'IDropdownValue'.
ERROR in ./src/app/redux/modules/likes/likes.ts
(13,21): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/app/redux/modules/likes/likes.ts
(43,21): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/app/redux/modules/add_blog/add_blog.ts
(176,21): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/app/redux/store.ts
(7,19): error TS7016: Could not find a declaration file for module 'redux-thunk'. '/Users/sk_/projects/frontend-content/node_modules/redux-thunk/lib/index.js' implicitly has an 'any' type.
ERROR in ./src/app/redux/store.ts
(17,22): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/app/redux/reducers.ts
(37,20): error TS2314: Generic type 'Reducer' requires 1 type argument(s).
ERROR in /Users/sk_/projects/frontend-content/src/app/models/async_props.ts
(2,10): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/app/helpers/request_helper.ts
(21,83): error TS2503: Cannot find namespace 'Redux'.
ERROR in ./src/server/index.tsx
Module not found: Error: Cannot resolve 'file' or 'directory' ../../build/assets/manifest.json in /Users/sk_/projects/frontend-content/src/server
@ ./src/server/index.tsx 22:15-58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment