♻️ Remove any to improve code quality

This commit is contained in:
C-3PO 2018-11-16 02:04:09 +01:00
parent 1486384207
commit 171cfd8fd9
Signed by: c3po
GPG key ID: 62993C4BB4D86F24
3 changed files with 47 additions and 20 deletions

View file

@ -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;
};
}

View 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[];
}