no implicit any - force return

add some comments
This commit is contained in:
lukas committed 2021-03-19 19:10:13 +01:00
1 parent 5dbbd34d3a
commit f2ec5b644d
5 files changed
+7 -32

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ class App extends React.Component<{}, state> {
});
// set the hook to load passwordfield on global func call
GlobalInfos.loadPasswordPage = (callback?: () => void) => {
GlobalInfos.loadPasswordPage = (callback?: () => void): void => {
// try refreshing the token
refreshAPIToken((err) => {
if (err !== '') {