Add Files to TypeScript Strict Mode (#777)

This commit is contained in:
Sunil Kumar Yadav
2021-05-13 05:53:10 +05:30
committed by GitHub
parent d76aaca0dd
commit 2d506f0312
7 changed files with 17 additions and 11 deletions

View File

@@ -18,7 +18,7 @@ export async function fetchPhoto(accessToken: string): Promise<Blob | void> {
}
export function useGraphPhoto(graphToken: string): string {
const [photo, setPhoto] = useState<string>();
const [photo, setPhoto] = useState<string>("");
useEffect(() => {
if (graphToken) {