Skip to content

fix: type error - #3757

Merged
Jack-Works merged 1 commit into
developfrom
type-error
Jul 26, 2021
Merged

fix: type error#3757
Jack-Works merged 1 commit into
developfrom
type-error

Conversation

@Jack-Works

@Jack-Works Jack-Works commented Jul 26, 2021

Copy link
Copy Markdown
Member
Error: packages/maskbook/src/plugins/Trader/trending/useAvailableCoins.ts(5,17): error TS2742: The inferred type of 'useAvailableCoins' cannot be named without a reference to '../../../../../web3-shared/node_modules/react-use/lib/useAsyncFn'. This is likely not portable. A type annotation is necessary.
Error: packages/maskbook/src/plugins/Trader/trending/useAvailableDataProviders.ts(6,17): error TS2742: The inferred type of 'useAvailableDataProviders' cannot be named without a reference to '../../../../../web3-shared/node_modules/react-use/lib/useAsyncFn'. This is likely not portable. A type annotation is necessary.
Error: packages/maskbook/src/plugins/Trader/trending/useAvailableTraderProviders.ts(6,17): error TS2742: The inferred type of 'useAvailableTraderProviders' cannot be named without a reference to '../../../../../web3-shared/node_modules/react-use/lib/useAsyncFn'. This is likely not portable. A type annotation is necessary.
Error: packages/maskbook/src/utils/hooks/useQRCodeImageScan.tsx(5,17): error TS2742: The inferred type of 'useQRCodeImageScan' cannot be named without a reference to '../../../../web3-shared/node_modules/react-use/lib/useAsyncFn'. This is likely not portable. A type annotation is necessary.

@septs

septs commented Jul 26, 2021

Copy link
Copy Markdown
Contributor

@Jack-Works ready, plz merge

@Jack-Works
Jack-Works merged commit a45d692 into develop Jul 26, 2021
@Jack-Works
Jack-Works deleted the type-error branch July 26, 2021 07:45
yanzhihong23 added a commit that referenced this pull request Jul 27, 2021
* develop:
  fix: absence account (#3752)
  feat: use swc to replace ts-loader (#3512)
  Revert "feat: enable es2020 syntax (#3750)" (#3758)
  feat: upgrade to holoflows-kit 0.9.0 (#3756)
  fix: type error (#3757)
  feat: enable es2020 syntax (#3750)
  refactor: remove ancient features (#3746)
  refactor: enhance robustness (#3664)
  chore: add isValidChainId (#3749)
  chore: update compatibility (#3747)
  fix: zerion with polygon & bsc (#3738)
  fix: the color of text placeholder (#3740)
  refactor: let SearchIcon inherit color from style context (#3735)
  chore: the default trending data provider (#3739)
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.

3 participants