summaryrefslogtreecommitdiff
path: root/source/features/user-local-time.tsx
diff options
context:
space:
mode:
authorGravatar Federico Brigante <me@fregante.com> 2022-09-10 00:46:49 +0700
committerGravatar GitHub <noreply@github.com> 2022-09-10 00:46:49 +0700
commit9f03cff225a3adb9c240e495b13974b6649b0fee (patch)
tree005fe67d9dd0f544c7b368ccaae2a542b63e6c43 /source/features/user-local-time.tsx
parent653552a654b843d2eac91b0364d7e12436ba5ac7 (diff)
downloadrefined-github-9f03cff225a3adb9c240e495b13974b6649b0fee.tar.gz
refined-github-9f03cff225a3adb9c240e495b13974b6649b0fee.tar.zst
refined-github-9f03cff225a3adb9c240e495b13974b6649b0fee.zip
Lint (#5954)22.9.9
Diffstat (limited to 'source/features/user-local-time.tsx')
-rw-r--r--source/features/user-local-time.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/features/user-local-time.tsx b/source/features/user-local-time.tsx
index ab085915..6a11c7db 100644
--- a/source/features/user-local-time.tsx
+++ b/source/features/user-local-time.tsx
@@ -14,10 +14,10 @@ import features from '.';
import * as api from '../github-helpers/api';
import {getUsername, getCleanPathname} from '../github-helpers';
-interface Commit {
+type Commit = {
url: string;
sha: string;
-}
+};
async function loadCommitPatch(commitUrl: string): Promise<string> {
const {textContent} = await api.v3(commitUrl, {