Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples/with-typescript gives ~300 lines of type errors on default install #666

Closed
tkivela opened this issue Jun 18, 2018 · 8 comments
Closed
Labels

Comments

@tkivela
Copy link

tkivela commented Jun 18, 2018

Problem:
When cloning the repository and installing & running examples/with-typescript the razzle script gives a lot of errors.

Steps to reproduce (are the same as in the example readme):
`
curl https://codeload.github.com/jaredpalmer/razzle/tar.gz/master | tar -xz --strip=2 razzle-master/examples/with-typescript

cd with-typescript

yarn install

yarn start
`

Notes:
As can be seen on the end of output the TypeScript version is reported as "Version: typescript 2.9.2" even though package.json has "typescript": "^2.8.3" as devDependency. This is not the root cause of the errors, but if specific TypeScript version is wanted to be run then dependency should be declared as exact version "2.8.3", yarn for some reason resolves ^2.8.3 (and infact also earlier 2.x versions) to the latest available TypeScript version.

Yarn version:
yarn --version 1.7.0

OS:
Budgie Linux 18.04 (ie. Ubuntu 18.04), up-to-date.

Output:
→ yarn start
yarn run v1.7.0
$ razzle start
WAIT Compiling...

Starting type checking and linting service...
Using 1 worker with 2048MB memory limit
Watching: /with-typescript/src
✔ success client compiled in 3s 835ms
Type checking and linting in progress...
✔ success server compiled in 1s 209ms
✅ Server-side HMR Enabled!

Started on port 3000
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3535,13):
TS2717: Subsequent property declarations must have the same type. Property 'a' must be of type 'DetailedHTMLProps<AnchorHTMLAttributes, HTMLAnchorElement>', but here has type 'DetailedHTMLProps<AnchorHTMLAttributes, HTMLAnchorElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3536,13):
TS2717: Subsequent property declarations must have the same type. Property 'abbr' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3537,13):
TS2717: Subsequent property declarations must have the same type. Property 'address' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3538,13):
TS2717: Subsequent property declarations must have the same type. Property 'area' must be of type 'DetailedHTMLProps<AreaHTMLAttributes, HTMLAreaElement>', but here has type 'DetailedHTMLProps<AreaHTMLAttributes, HTMLAreaElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3539,13):
TS2717: Subsequent property declarations must have the same type. Property 'article' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3540,13):
TS2717: Subsequent property declarations must have the same type. Property 'aside' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3541,13):
TS2717: Subsequent property declarations must have the same type. Property 'audio' must be of type 'DetailedHTMLProps<AudioHTMLAttributes, HTMLAudioElement>', but here has type 'DetailedHTMLProps<AudioHTMLAttributes, HTMLAudioElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3542,13):
TS2717: Subsequent property declarations must have the same type. Property 'b' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3543,13):
TS2717: Subsequent property declarations must have the same type. Property 'base' must be of type 'DetailedHTMLProps<BaseHTMLAttributes, HTMLBaseElement>', but here has type 'DetailedHTMLProps<BaseHTMLAttributes, HTMLBaseElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3544,13):
TS2717: Subsequent property declarations must have the same type. Property 'bdi' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3545,13):
TS2717: Subsequent property declarations must have the same type. Property 'bdo' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3546,13):
TS2717: Subsequent property declarations must have the same type. Property 'big' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3547,13):
TS2717: Subsequent property declarations must have the same type. Property 'blockquote' must be of type 'DetailedHTMLProps<BlockquoteHTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<BlockquoteHTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3548,13):
TS2717: Subsequent property declarations must have the same type. Property 'body' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLBodyElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLBodyElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3549,13):
TS2717: Subsequent property declarations must have the same type. Property 'br' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLBRElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLBRElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3550,13):
TS2717: Subsequent property declarations must have the same type. Property 'button' must be of type 'DetailedHTMLProps<ButtonHTMLAttributes, HTMLButtonElement>', but here has type 'DetailedHTMLProps<ButtonHTMLAttributes, HTMLButtonElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3551,13):
TS2717: Subsequent property declarations must have the same type. Property 'canvas' must be of type 'DetailedHTMLProps<CanvasHTMLAttributes, HTMLCanvasElement>', but here has type 'DetailedHTMLProps<CanvasHTMLAttributes, HTMLCanvasElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3552,13):
TS2717: Subsequent property declarations must have the same type. Property 'caption' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3553,13):
TS2717: Subsequent property declarations must have the same type. Property 'cite' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3554,13):
TS2717: Subsequent property declarations must have the same type. Property 'code' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3555,13):
TS2717: Subsequent property declarations must have the same type. Property 'col' must be of type 'DetailedHTMLProps<ColHTMLAttributes, HTMLTableColElement>', but here has type 'DetailedHTMLProps<ColHTMLAttributes, HTMLTableColElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3556,13):
TS2717: Subsequent property declarations must have the same type. Property 'colgroup' must be of type 'DetailedHTMLProps<ColgroupHTMLAttributes, HTMLTableColElement>', but here has type 'DetailedHTMLProps<ColgroupHTMLAttributes, HTMLTableColElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3557,13):
TS2717: Subsequent property declarations must have the same type. Property 'data' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3558,13):
TS2717: Subsequent property declarations must have the same type. Property 'datalist' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLDataListElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLDataListElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3559,13):
TS2717: Subsequent property declarations must have the same type. Property 'dd' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3560,13):
TS2717: Subsequent property declarations must have the same type. Property 'del' must be of type 'DetailedHTMLProps<DelHTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<DelHTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3561,13):
TS2717: Subsequent property declarations must have the same type. Property 'details' must be of type 'DetailedHTMLProps<DetailsHTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<DetailsHTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3562,13):
TS2717: Subsequent property declarations must have the same type. Property 'dfn' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3563,13):
TS2717: Subsequent property declarations must have the same type. Property 'dialog' must be of type 'DetailedHTMLProps<DialogHTMLAttributes, HTMLDialogElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3564,13):
TS2717: Subsequent property declarations must have the same type. Property 'div' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLDivElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLDivElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3565,13):
TS2717: Subsequent property declarations must have the same type. Property 'dl' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLDListElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLDListElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3566,13):
TS2717: Subsequent property declarations must have the same type. Property 'dt' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3567,13):
TS2717: Subsequent property declarations must have the same type. Property 'em' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3568,13):
TS2717: Subsequent property declarations must have the same type. Property 'embed' must be of type 'DetailedHTMLProps<EmbedHTMLAttributes, HTMLEmbedElement>', but here has type 'DetailedHTMLProps<EmbedHTMLAttributes, HTMLEmbedElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3569,13):
TS2717: Subsequent property declarations must have the same type. Property 'fieldset' must be of type 'DetailedHTMLProps<FieldsetHTMLAttributes, HTMLFieldSetElement>', but here has type 'DetailedHTMLProps<FieldsetHTMLAttributes, HTMLFieldSetElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3570,13):
TS2717: Subsequent property declarations must have the same type. Property 'figcaption' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3571,13):
TS2717: Subsequent property declarations must have the same type. Property 'figure' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3572,13):
TS2717: Subsequent property declarations must have the same type. Property 'footer' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3573,13):
TS2717: Subsequent property declarations must have the same type. Property 'form' must be of type 'DetailedHTMLProps<FormHTMLAttributes, HTMLFormElement>', but here has type 'DetailedHTMLProps<FormHTMLAttributes, HTMLFormElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3574,13):
TS2717: Subsequent property declarations must have the same type. Property 'h1' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLHeadingElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3575,13):
TS2717: Subsequent property declarations must have the same type. Property 'h2' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLHeadingElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3576,13):
TS2717: Subsequent property declarations must have the same type. Property 'h3' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLHeadingElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3577,13):
TS2717: Subsequent property declarations must have the same type. Property 'h4' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLHeadingElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3578,13):
TS2717: Subsequent property declarations must have the same type. Property 'h5' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLHeadingElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3579,13):
TS2717: Subsequent property declarations must have the same type. Property 'h6' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLHeadingElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3580,13):
TS2717: Subsequent property declarations must have the same type. Property 'head' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLHeadElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLHeadElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3581,13):
TS2717: Subsequent property declarations must have the same type. Property 'header' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3582,13):
TS2717: Subsequent property declarations must have the same type. Property 'hgroup' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3583,13):
TS2717: Subsequent property declarations must have the same type. Property 'hr' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLHRElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLHRElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3584,13):
TS2717: Subsequent property declarations must have the same type. Property 'html' must be of type 'DetailedHTMLProps<HtmlHTMLAttributes, HTMLHtmlElement>', but here has type 'DetailedHTMLProps<HtmlHTMLAttributes, HTMLHtmlElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3585,13):
TS2717: Subsequent property declarations must have the same type. Property 'i' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3586,13):
TS2717: Subsequent property declarations must have the same type. Property 'iframe' must be of type 'DetailedHTMLProps<IframeHTMLAttributes, HTMLIFrameElement>', but here has type 'DetailedHTMLProps<IframeHTMLAttributes, HTMLIFrameElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3587,13):
TS2717: Subsequent property declarations must have the same type. Property 'img' must be of type 'DetailedHTMLProps<ImgHTMLAttributes, HTMLImageElement>', but here has type 'DetailedHTMLProps<ImgHTMLAttributes, HTMLImageElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3588,13):
TS2717: Subsequent property declarations must have the same type. Property 'input' must be of type 'DetailedHTMLProps<InputHTMLAttributes, HTMLInputElement>', but here has type 'DetailedHTMLProps<InputHTMLAttributes, HTMLInputElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3589,13):
TS2717: Subsequent property declarations must have the same type. Property 'ins' must be of type 'DetailedHTMLProps<InsHTMLAttributes, HTMLModElement>', but here has type 'DetailedHTMLProps<InsHTMLAttributes, HTMLModElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3590,13):
TS2717: Subsequent property declarations must have the same type. Property 'kbd' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3591,13):
TS2717: Subsequent property declarations must have the same type. Property 'keygen' must be of type 'DetailedHTMLProps<KeygenHTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<KeygenHTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3592,13):
TS2717: Subsequent property declarations must have the same type. Property 'label' must be of type 'DetailedHTMLProps<LabelHTMLAttributes, HTMLLabelElement>', but here has type 'DetailedHTMLProps<LabelHTMLAttributes, HTMLLabelElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3593,13):
TS2717: Subsequent property declarations must have the same type. Property 'legend' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLLegendElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLLegendElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3594,13):
TS2717: Subsequent property declarations must have the same type. Property 'li' must be of type 'DetailedHTMLProps<LiHTMLAttributes, HTMLLIElement>', but here has type 'DetailedHTMLProps<LiHTMLAttributes, HTMLLIElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3595,13):
TS2717: Subsequent property declarations must have the same type. Property 'link' must be of type 'DetailedHTMLProps<LinkHTMLAttributes, HTMLLinkElement>', but here has type 'DetailedHTMLProps<LinkHTMLAttributes, HTMLLinkElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3596,13):
TS2717: Subsequent property declarations must have the same type. Property 'main' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3597,13):
TS2717: Subsequent property declarations must have the same type. Property 'map' must be of type 'DetailedHTMLProps<MapHTMLAttributes, HTMLMapElement>', but here has type 'DetailedHTMLProps<MapHTMLAttributes, HTMLMapElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3598,13):
TS2717: Subsequent property declarations must have the same type. Property 'mark' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3599,13):
TS2717: Subsequent property declarations must have the same type. Property 'menu' must be of type 'DetailedHTMLProps<MenuHTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<MenuHTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3600,13):
TS2717: Subsequent property declarations must have the same type. Property 'menuitem' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3601,13):
TS2717: Subsequent property declarations must have the same type. Property 'meta' must be of type 'DetailedHTMLProps<MetaHTMLAttributes, HTMLMetaElement>', but here has type 'DetailedHTMLProps<MetaHTMLAttributes, HTMLMetaElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3602,13):
TS2717: Subsequent property declarations must have the same type. Property 'meter' must be of type 'DetailedHTMLProps<MeterHTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<MeterHTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3603,13):
TS2717: Subsequent property declarations must have the same type. Property 'nav' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3604,13):
TS2717: Subsequent property declarations must have the same type. Property 'noindex' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3605,13):
TS2717: Subsequent property declarations must have the same type. Property 'noscript' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3606,13):
TS2717: Subsequent property declarations must have the same type. Property 'object' must be of type 'DetailedHTMLProps<ObjectHTMLAttributes, HTMLObjectElement>', but here has type 'DetailedHTMLProps<ObjectHTMLAttributes, HTMLObjectElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3607,13):
TS2717: Subsequent property declarations must have the same type. Property 'ol' must be of type 'DetailedHTMLProps<OlHTMLAttributes, HTMLOListElement>', but here has type 'DetailedHTMLProps<OlHTMLAttributes, HTMLOListElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3608,13):
TS2717: Subsequent property declarations must have the same type. Property 'optgroup' must be of type 'DetailedHTMLProps<OptgroupHTMLAttributes, HTMLOptGroupElement>', but here has type 'DetailedHTMLProps<OptgroupHTMLAttributes, HTMLOptGroupElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3609,13):
TS2717: Subsequent property declarations must have the same type. Property 'option' must be of type 'DetailedHTMLProps<OptionHTMLAttributes, HTMLOptionElement>', but here has type 'DetailedHTMLProps<OptionHTMLAttributes, HTMLOptionElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3610,13):
TS2717: Subsequent property declarations must have the same type. Property 'output' must be of type 'DetailedHTMLProps<OutputHTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<OutputHTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3611,13):
TS2717: Subsequent property declarations must have the same type. Property 'p' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLParagraphElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLParagraphElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3612,13):
TS2717: Subsequent property declarations must have the same type. Property 'param' must be of type 'DetailedHTMLProps<ParamHTMLAttributes, HTMLParamElement>', but here has type 'DetailedHTMLProps<ParamHTMLAttributes, HTMLParamElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3613,13):
TS2717: Subsequent property declarations must have the same type. Property 'picture' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3614,13):
TS2717: Subsequent property declarations must have the same type. Property 'pre' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLPreElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLPreElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3615,13):
TS2717: Subsequent property declarations must have the same type. Property 'progress' must be of type 'DetailedHTMLProps<ProgressHTMLAttributes, HTMLProgressElement>', but here has type 'DetailedHTMLProps<ProgressHTMLAttributes, HTMLProgressElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3616,13):
TS2717: Subsequent property declarations must have the same type. Property 'q' must be of type 'DetailedHTMLProps<QuoteHTMLAttributes, HTMLQuoteElement>', but here has type 'DetailedHTMLProps<QuoteHTMLAttributes, HTMLQuoteElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3617,13):
TS2717: Subsequent property declarations must have the same type. Property 'rp' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3618,13):
TS2717: Subsequent property declarations must have the same type. Property 'rt' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3619,13):
TS2717: Subsequent property declarations must have the same type. Property 'ruby' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3620,13):
TS2717: Subsequent property declarations must have the same type. Property 's' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3621,13):
TS2717: Subsequent property declarations must have the same type. Property 'samp' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3622,13):
TS2717: Subsequent property declarations must have the same type. Property 'script' must be of type 'DetailedHTMLProps<ScriptHTMLAttributes, HTMLScriptElement>', but here has type 'DetailedHTMLProps<ScriptHTMLAttributes, HTMLScriptElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3623,13):
TS2717: Subsequent property declarations must have the same type. Property 'section' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3624,13):
TS2717: Subsequent property declarations must have the same type. Property 'select' must be of type 'DetailedHTMLProps<SelectHTMLAttributes, HTMLSelectElement>', but here has type 'DetailedHTMLProps<SelectHTMLAttributes, HTMLSelectElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3625,13):
TS2717: Subsequent property declarations must have the same type. Property 'small' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3626,13):
TS2717: Subsequent property declarations must have the same type. Property 'source' must be of type 'DetailedHTMLProps<SourceHTMLAttributes, HTMLSourceElement>', but here has type 'DetailedHTMLProps<SourceHTMLAttributes, HTMLSourceElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3627,13):
TS2717: Subsequent property declarations must have the same type. Property 'span' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLSpanElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLSpanElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3628,13):
TS2717: Subsequent property declarations must have the same type. Property 'strong' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3629,13):
TS2717: Subsequent property declarations must have the same type. Property 'style' must be of type 'DetailedHTMLProps<StyleHTMLAttributes, HTMLStyleElement>', but here has type 'DetailedHTMLProps<StyleHTMLAttributes, HTMLStyleElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3630,13):
TS2717: Subsequent property declarations must have the same type. Property 'sub' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3631,13):
TS2717: Subsequent property declarations must have the same type. Property 'summary' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3632,13):
TS2717: Subsequent property declarations must have the same type. Property 'sup' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3633,13):
TS2717: Subsequent property declarations must have the same type. Property 'table' must be of type 'DetailedHTMLProps<TableHTMLAttributes, HTMLTableElement>', but here has type 'DetailedHTMLProps<TableHTMLAttributes, HTMLTableElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3634,13):
TS2717: Subsequent property declarations must have the same type. Property 'tbody' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLTableSectionElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLTableSectionElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3635,13):
TS2717: Subsequent property declarations must have the same type. Property 'td' must be of type 'DetailedHTMLProps<TdHTMLAttributes, HTMLTableDataCellElement>', but here has type 'DetailedHTMLProps<TdHTMLAttributes, HTMLTableDataCellElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3636,13):
TS2717: Subsequent property declarations must have the same type. Property 'textarea' must be of type 'DetailedHTMLProps<TextareaHTMLAttributes, HTMLTextAreaElement>', but here has type 'DetailedHTMLProps<TextareaHTMLAttributes, HTMLTextAreaElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3637,13):
TS2717: Subsequent property declarations must have the same type. Property 'tfoot' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLTableSectionElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLTableSectionElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3638,13):
TS2717: Subsequent property declarations must have the same type. Property 'th' must be of type 'DetailedHTMLProps<ThHTMLAttributes, HTMLTableHeaderCellElement>', but here has type 'DetailedHTMLProps<ThHTMLAttributes, HTMLTableHeaderCellElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3639,13):
TS2717: Subsequent property declarations must have the same type. Property 'thead' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLTableSectionElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLTableSectionElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3640,13):
TS2717: Subsequent property declarations must have the same type. Property 'time' must be of type 'DetailedHTMLProps<TimeHTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<TimeHTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3641,13):
TS2717: Subsequent property declarations must have the same type. Property 'title' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLTitleElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLTitleElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3642,13):
TS2717: Subsequent property declarations must have the same type. Property 'tr' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLTableRowElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLTableRowElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3643,13):
TS2717: Subsequent property declarations must have the same type. Property 'track' must be of type 'DetailedHTMLProps<TrackHTMLAttributes, HTMLTrackElement>', but here has type 'DetailedHTMLProps<TrackHTMLAttributes, HTMLTrackElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3644,13):
TS2717: Subsequent property declarations must have the same type. Property 'u' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3645,13):
TS2717: Subsequent property declarations must have the same type. Property 'ul' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLUListElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLUListElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3646,13):
TS2717: Subsequent property declarations must have the same type. Property '"var"' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3647,13):
TS2717: Subsequent property declarations must have the same type. Property 'video' must be of type 'DetailedHTMLProps<VideoHTMLAttributes, HTMLVideoElement>', but here has type 'DetailedHTMLProps<VideoHTMLAttributes, HTMLVideoElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3648,13):
TS2717: Subsequent property declarations must have the same type. Property 'wbr' must be of type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes, HTMLElement>'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3651,13):
TS2717: Subsequent property declarations must have the same type. Property 'svg' must be of type 'SVGProps', but here has type 'SVGProps'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3653,13):
TS2717: Subsequent property declarations must have the same type. Property 'animate' must be of type 'SVGProps', but here has type 'SVGProps'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3654,13):
TS2717: Subsequent property declarations must have the same type. Property 'animateTransform' must be of type 'SVGProps', but here has type 'SVGProps'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3655,13):
TS2717: Subsequent property declarations must have the same type. Property 'circle' must be of type 'SVGProps', but here has type 'SVGProps'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3656,13):
TS2717: Subsequent property declarations must have the same type. Property 'clipPath' must be of type 'SVGProps', but here has type 'SVGProps'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3657,13):
TS2717: Subsequent property declarations must have the same type. Property 'defs' must be of type 'SVGProps', but here has type 'SVGProps'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3658,13):
TS2717: Subsequent property declarations must have the same type. Property 'desc' must be of type 'SVGProps', but here has type 'SVGProps'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3659,13):
TS2717: Subsequent property declarations must have the same type. Property 'ellipse' must be of type 'SVGProps', but here has type 'SVGProps'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3660,13):
TS2717: Subsequent property declarations must have the same type. Property 'feBlend' must be of type 'SVGProps', but here has type 'SVGProps'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3661,13):
TS2717: Subsequent property declarations must have the same type. Property 'feColorMatrix' must be of type 'SVGProps', but here has type 'SVGProps'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3662,13):
TS2717: Subsequent property declarations must have the same type. Property 'feComponentTransfer' must be of type 'SVGProps', but here has type 'SVGProps'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3663,13):
TS2717: Subsequent property declarations must have the same type. Property 'feComposite' must be of type 'SVGProps', but here has type 'SVGProps'.
ERROR in /with-typescript/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(3664,13):
TS2717: Subsequent property declarations must have the same type. Property 'feConvolveMatrix' must be of type 'SVGProps', but here has type 'SVGProps

@tkivela
Copy link
Author

tkivela commented Jun 18, 2018

... (the end of error was snipped away but here it is) ...

TS2320: Interface 'IntrinsicClassAttributes' cannot simultaneously extend types 'ClassAttributes' and 'ClassAttributes'.
Named property 'ref' of types 'ClassAttributes' and 'ClassAttributes' are not identical.
No lint errors found
Version: typescript 2.9.2, tslint 5.10.0
Time: 6041ms

@tkivela
Copy link
Author

tkivela commented Jun 19, 2018

Problem seems to be related somehow to yarn workspaces and yarn.lock -file.
The only way I can get the example working without errors is the following procedure:

  1. git clone https://github.com/jaredpalmer/razzle.git
  2. copy examples/with-typescript out to a new folder which is outside cloned directory
  3. delete yarn.lock
  4. edit package.json and change row:
    "typescript": "^2.8.3"
    to
    "typescript": "2.8.3"
  5. install packages with yarn
  6. yarn start

@stale
Copy link

stale bot commented Aug 18, 2018

Hola! So here's the deal, between open source and my day job and life and what not, I have a lot to manage, so I use a GitHub bot to automate a few things here and there. This particular GitHub bot is going to mark this as stale because it has not had recent activity for a while. It will be closed if no further activity occurs in a few days. Do not take this personally--seriously--this is a completely automated action. If this is a mistake, just make a comment, DM me, send a carrier pidgeon, or a smoke signal.

@stale stale bot added the stale label Aug 18, 2018
@mrmartineau
Copy link

@tkivela I am experiencing similar issues but I'm using Typescript v3.0.1. Have you upgraded to that yet? If so, can you confirm if the errors are still gone for you?

@stale stale bot removed the stale label Aug 22, 2018
@tkivela
Copy link
Author

tkivela commented Aug 25, 2018

I'm not on TS 3.x on any Razzle project yet, sorry.

@stale
Copy link

stale bot commented Oct 24, 2018

Hola! So here's the deal, between open source and my day job and life and what not, I have a lot to manage, so I use a GitHub bot to automate a few things here and there. This particular GitHub bot is going to mark this as stale because it has not had recent activity for a while. It will be closed if no further activity occurs in a few days. Do not take this personally--seriously--this is a completely automated action. If this is a mistake, just make a comment, DM me, send a carrier pidgeon, or a smoke signal.

@stale stale bot added the stale label Oct 24, 2018
@stale
Copy link

stale bot commented Oct 31, 2018

ProBot automatically closed this due to inactivity. Holler if this is a mistake, and we'll re-open it.

@stale stale bot closed this as completed Oct 31, 2018
@fi3ework
Copy link

@mrmartineau I just tried TS 3.2.1 as tkivela said. It works like a charm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants