refactor: more TS code

This commit is contained in:
Tristan Yang
2022-07-08 19:13:49 +08:00
parent 678b8515ca
commit 9f1b115c73
55 changed files with 421 additions and 338 deletions
+4 -4
View File
@@ -66,10 +66,10 @@ const StyledWrapper = styled.div`
export interface PreviewImageData {
originUrl: string;
thumbnail: string;
downloadLink: string;
name: string;
type: string;
thumbnail?: string;
downloadLink?: string;
name?: string;
type?: string;
}
interface Props {