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

Issue with @types/styled-components and typescript versions #3

Open
bfayette opened this issue Jul 14, 2020 · 1 comment
Open

Issue with @types/styled-components and typescript versions #3

bfayette opened this issue Jul 14, 2020 · 1 comment

Comments

@bfayette
Copy link

Environment
wls2 ubuntu-20.04
yarn versions v1.22.4
{
yarn: '1.22.4',
node: '12.18.2',
v8: '7.8.279.23-node.39',
uv: '1.38.0',
zlib: '1.2.11',
brotli: '1.0.7',
ares: '1.16.0',
modules: '72',
nghttp2: '1.41.0',
napi: '6',
llhttp: '2.0.4',
http_parser: '2.9.3',
openssl: '1.1.1g',
cldr: '37.0',
icu: '67.1',
tz: '2019c',
unicode: '13.0'
}

git branch

  • master

yarn start-local
local-wallet: Error: Invalid JSON RPC response: ""
local-wallet: at Object.InvalidResponse

yarn build
../node_modules/@types/styled-components/index.d.ts(181,8): error TS2615: Type of property 'propTypes' circularly refere

@bfayette
Copy link
Author

bfayette commented Jul 14, 2020

### Work around to get started with typescript
start by creating a brand new project
npx create-react-app my-app --template typescript
or yarn create react-app my-app --template typescript

Then
yarn add @burner-wallet/core @burner-wallet/assets @burner-wallet/modern-ui @burner-wallet/types

And
Copy an index.tsx from the project

And
Remove my-plugin references or set it up

Finally
yarn start

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

No branches or pull requests

1 participant