aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/installation
diff options
context:
space:
mode:
authorVeetaha <[email protected]>2020-02-09 11:39:54 +0000
committerVeetaha <[email protected]>2020-02-09 11:39:54 +0000
commit34241b9af966208d73f37f1cdf7f862f2590d846 (patch)
tree8689308018c99cf3a1b75b888deeaf2ff1895de7 /editors/code/src/installation
parent3159e87c49cd43677927ba7baa8f12c1232183a1 (diff)
vscode: remove noise data fields declarations as per @matklad
Diffstat (limited to 'editors/code/src/installation')
-rw-r--r--editors/code/src/installation/fetch_latest_artifact_metadata.ts7
1 files changed, 1 insertions, 6 deletions
diff --git a/editors/code/src/installation/fetch_latest_artifact_metadata.ts b/editors/code/src/installation/fetch_latest_artifact_metadata.ts
index cda955af2..f1019e089 100644
--- a/editors/code/src/installation/fetch_latest_artifact_metadata.ts
+++ b/editors/code/src/installation/fetch_latest_artifact_metadata.ts
@@ -31,17 +31,12 @@ export async function fetchLatestArtifactMetadata(
31 downloadUrl: artifact.browser_download_url 31 downloadUrl: artifact.browser_download_url
32 }; 32 };
33 33
34 // Noise denotes tremendous amount of data that we are not using here 34 // We omit declaration of tremendous amount of fields that we are not using here
35 interface GithubRelease { 35 interface GithubRelease {
36 name: string; 36 name: string;
37 assets: Array<{ 37 assets: Array<{
38 name: string; 38 name: string;
39 browser_download_url: string; 39 browser_download_url: string;
40
41 [noise: string]: unknown;
42 }>; 40 }>;
43
44 [noise: string]: unknown;
45 } 41 }
46
47} 42}