summaryrefslogtreecommitdiff
path: root/source/github-helpers/github-url.ts
diff options
context:
space:
mode:
authorGravatar Federico Brigante <me@fregante.com> 2023-02-20 13:30:02 +0800
committerGravatar GitHub <noreply@github.com> 2023-02-20 13:30:02 +0800
commitd4b9cd042f2defb502ec622ce52e3f321cfc7ee0 (patch)
tree0b401070e2662c27a3372ad5d9d914ff21936248 /source/github-helpers/github-url.ts
parentb9e20de6ab8dba8954dee9895572e8cb4cd00408 (diff)
downloadrefined-github-d4b9cd042f2defb502ec622ce52e3f321cfc7ee0.tar.gz
refined-github-d4b9cd042f2defb502ec622ce52e3f321cfc7ee0.tar.zst
refined-github-d4b9cd042f2defb502ec622ce52e3f321cfc7ee0.zip
Run 50 more features before the whole page has loaded (#6357)
Diffstat (limited to 'source/github-helpers/github-url.ts')
-rw-r--r--source/github-helpers/github-url.ts15
1 files changed, 5 insertions, 10 deletions
diff --git a/source/github-helpers/github-url.ts b/source/github-helpers/github-url.ts
index f9355e32..c06d2256 100644
--- a/source/github-helpers/github-url.ts
+++ b/source/github-helpers/github-url.ts
@@ -1,16 +1,11 @@
import {getCurrentCommittish} from '.';
export default class GitHubURL {
- // @ts-expect-error https://github.com/microsoft/TypeScript/issues/26792
- user: string;
- // @ts-expect-error https://github.com/microsoft/TypeScript/issues/26792
- repository: string;
- // @ts-expect-error https://github.com/microsoft/TypeScript/issues/26792
- route: string;
- // @ts-expect-error https://github.com/microsoft/TypeScript/issues/26792
- branch: string;
- // @ts-expect-error https://github.com/microsoft/TypeScript/issues/26792
- filePath: string;
+ user = '';
+ repository = '';
+ route = '';
+ branch = '';
+ filePath = '';
private internalUrl: URL;