summaryrefslogtreecommitdiff
path: root/source/features/edit-files-faster.tsx
diff options
context:
space:
mode:
authorGravatar Nick Taylor <nick@iamdeveloper.com> 2019-04-21 01:48:07 -0400
committerGravatar Federico Brigante <github@bfred.it> 2019-04-21 13:48:07 +0800
commit9cdb7b377fef47e621a0a0cf5c1df321f1060605 (patch)
treec4c7eea04da66d38ebbf0b8509e4cd2a17c34023 /source/features/edit-files-faster.tsx
parentdea7e47bcf61640f4dee9e195fed0ad1ae938781 (diff)
downloadrefined-github-9cdb7b377fef47e621a0a0cf5c1df321f1060605.tar.gz
refined-github-9cdb7b377fef47e621a0a0cf5c1df321f1060605.tar.zst
refined-github-9cdb7b377fef47e621a0a0cf5c1df321f1060605.zip
Meta: Add explicit return types on all functions (#1943)
Co-authored-by: Federico Brigante <github@bfred.it>
Diffstat (limited to 'source/features/edit-files-faster.tsx')
-rw-r--r--source/features/edit-files-faster.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/edit-files-faster.tsx b/source/features/edit-files-faster.tsx
index bce1e325..2cb4f4c1 100644
--- a/source/features/edit-files-faster.tsx
+++ b/source/features/edit-files-faster.tsx
@@ -8,7 +8,7 @@ import features from '../libs/features';
import * as icons from '../libs/icons';
import {wrap} from '../libs/dom-utils';
-function init() {
+function init(): void {
for (const fileIcon of select.all('.files :not(a) > .octicon-file')) {
const pathnameParts = fileIcon
.closest('tr')!