vscode: remove noise data fields declarations as per @matklad
This commit is contained in:
@@ -31,17 +31,12 @@ export async function fetchLatestArtifactMetadata(
|
|||||||
downloadUrl: artifact.browser_download_url
|
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 {
|
interface GithubRelease {
|
||||||
name: string;
|
name: string;
|
||||||
assets: Array<{
|
assets: Array<{
|
||||||
name: string;
|
name: string;
|
||||||
browser_download_url: string;
|
browser_download_url: string;
|
||||||
|
|
||||||
[noise: string]: unknown;
|
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
[noise: string]: unknown;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user