refactor: more TS code

This commit is contained in:
Tristan Yang
2022-07-25 23:14:27 +08:00
parent 17984a385e
commit 396a296c0b
21 changed files with 73 additions and 95 deletions
@@ -29,8 +29,6 @@ const Styled = styled.div`
}
`;
// type: server,channel
interface Props {
type?: "server" | "channel";
cid?: number;