summaryrefslogtreecommitdiff
path: root/source/features/user-local-time.tsx
diff options
context:
space:
mode:
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, {