mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
vscode: remove noise data fields declarations as per @matklad
This commit is contained in:
parent
3159e87c49
commit
34241b9af9
1 changed files with 1 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue