no implicit any - force return
add some comments
This commit is contained in:
1 parent
5dbbd34d3a
commit
f2ec5b644d
5 files changed
+7
-32
No files matched your search
+1
-1
@@ -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 !== '') {
|
||||
|
||||
Reference in new issue
Block a user