Open IlyaSemenov opened 1 month ago
useTonConnectUI().tonConnectUI is typed as any:
useTonConnectUI().tonConnectUI
any
This is probably because it's pulled in a hacky way from some global props:
https://github.com/TownSquareXYZ/tonconnect-ui-vue/blob/ee614c6b09efb3a9ef200887882a88de32a300d6/src/hooks/useTonConnectUI.ts#L19
It should be explicitly typed as TonConnectUI in the composable return.
TonConnectUI
useTonConnectUI().tonConnectUI
is typed asany
:This is probably because it's pulled in a hacky way from some global props:
https://github.com/TownSquareXYZ/tonconnect-ui-vue/blob/ee614c6b09efb3a9ef200887882a88de32a300d6/src/hooks/useTonConnectUI.ts#L19
It should be explicitly typed as
TonConnectUI
in the composable return.