liusong1111 / synapse-extension

MIT License
0 stars 0 forks source link

[ui][refactor] more typescript type declaration #28

Open liusong1111 opened 4 years ago

liusong1111 commented 4 years ago

https://github.com/rebase-network/synapse-extension/blob/bb8fc827adca2ab2281480dd068858d1882ccbf4/src/ui/Components/TxDetail/index.tsx#L30

interface AppProps {
  data: any;
}

replace any with more concise declarations