vscode: remove noise data fields declarations as per @matklad

This commit is contained in:
Veetaha 2020-02-09 13:39:54 +02:00
parent 3159e87c49
commit 34241b9af9

View file

@ -31,17 +31,12 @@ export async function fetchLatestArtifactMetadata(
downloadUrl: artifact.browser_download_url
};
// Noise denotes tremendous amount of data that we are not using here
// We omit declaration of tremendous amount of fields that we are not using here
interface GithubRelease {
name: string;
assets: Array<{
name: string;
browser_download_url: string;
[noise: string]: unknown;
}>;
[noise: string]: unknown;
}
}