Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@intellix
Copy link
Contributor

I keep needing this for other branches and it'll help people get started up in cases like #211

package.json Outdated
"resolutions": {
"typescript": "3.3.1"
"typescript": "3.3.1",
"@types/react": "16.8.12"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a note that you need to pin this or else you get this error due to both @types/react@* pulling in 16.8.2 and @types/[email protected]:

@primecms/ui: Failed to compile.
@primecms/ui: /Users/dominicwatson/Sites/github/birkir/prime/packages/prime-ui/node_modules/@types/react/index.d.ts
@primecms/ui: Type error: Duplicate identifier 'LibraryManagedAttributes'.  TS2300
@primecms/ui:     2807 |         // We can't recurse forever because `type` can't be self-referential;
@primecms/ui:     2808 |         // let's assume it's reasonable to do a single React.lazy() around a single React.memo() / vice-versa
@primecms/ui:   > 2809 |         type LibraryManagedAttributes<C, P> = C extends React.MemoExoticComponent<infer T> | React.LazyExoticComponent<infer T>
@primecms/ui:          |              ^
@primecms/ui:     2810 |             ? T extends React.MemoExoticComponent<infer U> | React.LazyExoticComponent<infer U>
@primecms/ui:     2811 |                 ? ReactManagedAttributes<U, P>
@primecms/ui:     2812 |                 : ReactManagedAttributes<T, P>

@codecov
Copy link

codecov bot commented May 24, 2019

Codecov Report

Merging #212 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #212   +/-   ##
=======================================
  Coverage   78.14%   78.14%           
=======================================
  Files         108      108           
  Lines        2178     2178           
  Branches      152      152           
=======================================
  Hits         1702     1702           
  Misses        458      458           
  Partials       18       18

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c56414a...868b489. Read the comment docs.

@birkir birkir merged commit cdbd350 into birkir:master Jun 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants