♻️ Remove any to improve code quality
This commit is contained in:
parent
1486384207
commit
171cfd8fd9
3 changed files with 47 additions and 20 deletions
|
@ -1,16 +1,11 @@
|
|||
import IManifestRelease from './IManifestRelease';
|
||||
|
||||
/** A patch manifest, containing a list of releases, how to patch them, and which one the current release is. */
|
||||
export default interface IManifest {
|
||||
/** Current release. */
|
||||
current: number;
|
||||
/** List of releases. */
|
||||
releases: {
|
||||
[s: string]: {
|
||||
/** SHA1 hash of this release. */
|
||||
sha1: string;
|
||||
/** List of releases from where we can patch to this release. */
|
||||
from: number[];
|
||||
/** List of releases that this release can be patched to. */
|
||||
to: number[];
|
||||
};
|
||||
[s: string]: IManifestRelease;
|
||||
};
|
||||
}
|
||||
|
|
8
src/interfaces/IManifestRelease.ts
Normal file
8
src/interfaces/IManifestRelease.ts
Normal file
|
@ -0,0 +1,8 @@
|
|||
export default interface IManifestRelease {
|
||||
/** SHA1 hash of this release. */
|
||||
sha1: string;
|
||||
/** List of releases from where we can patch to this release. */
|
||||
from: number[];
|
||||
/** List of releases that this release can be patched to. */
|
||||
to: number[];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue