Move to NextJS + other changes
This commit is contained in:
44 files changed
+3265
-1305
No files matched your search
@@ -1,11 +0,0 @@
|
||||
import { DownloadedVersion } from './DownloadedVersion'
|
||||
|
||||
export class VersionsConfig {
|
||||
constructor (public version: string, public list: DownloadedVersion[] = []) {}
|
||||
|
||||
static import (data: any) {
|
||||
const cfg = new VersionsConfig(data.version)
|
||||
Object.assign(cfg.list, data.list)
|
||||
return cfg
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user