Feature: LSP7/8 support #44
checks.yml
on: pull_request
Annotations
6 errors and 1 warning
Code quality:
ui/address/tokenSelect/TokenSelect.tsx#L92
Property 'LSP7' is missing in type '{ 'ERC-20': { items: TokenEnhancedData[]; isOverflow: boolean; }; 'ERC-721': { items: TokenEnhancedData[]; isOverflow: boolean; }; 'ERC-1155': { items: TokenEnhancedData[]; isOverflow: boolean; }; }' but required in type 'FormattedData'.
|
Code quality:
ui/address/tokenSelect/TokenSelect.tsx#L93
Type '{ 'ERC-20': { items: TokenEnhancedData[]; isOverflow: boolean; }; 'ERC-721': { items: TokenEnhancedData[]; isOverflow: boolean; }; 'ERC-1155': { items: TokenEnhancedData[]; isOverflow: boolean; }; }' is not assignable to type 'FormattedData'.
|
Code quality:
ui/address/tokenSelect/TokenSelectMenu.tsx#L79
Element implicitly has an 'any' type because expression of type 'TokenType' can't be used to index type '{ 'ERC-20': (sort: Sort) => (dataA: TokenEnhancedData, dataB: TokenEnhancedData) => 1 | 0 | -1; 'ERC-721': () => () => number; 'ERC-1155': (sort: Sort) => (dataA: AddressTokenBalance, dataB: AddressTokenBalance) => 1 | ... 1 more ... | -1; }'.
|
Code quality:
ui/address/tokens/TokenBalances.tsx#L40
Argument of type '{ 'ERC-20': { items: TokenEnhancedData[]; isOverflow: boolean; }; 'ERC-721': { items: TokenEnhancedData[]; isOverflow: boolean; }; 'ERC-1155': { items: TokenEnhancedData[]; isOverflow: boolean; }; }' is not assignable to parameter of type 'TokenSelectData'.
|
Code quality:
ui/pages/Address.tsx#L38
Property 'LSP7' is missing in type '{ readonly 'ERC-20': "tokens_erc20"; readonly 'ERC-721': "tokens_erc721"; readonly 'ERC-1155': "tokens_erc1155"; }' but required in type 'Record<TokenType, string>'.
|
Code quality
Process completed with exit code 2.
|
Code quality:
theme/components/Tooltip/Tooltip.pw.tsx#L25
Unexpected use of the `.skip()` annotation
|