mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-21 08:42:53 +02:00
Converted Programs and DarkWeb implementations to Typescript
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { Program } from "./Program";
|
||||
import { IProgramCreationParams,
|
||||
programsMetadata } from "./data/programsMetadata";
|
||||
import { IMap } from "../types";
|
||||
|
||||
export const Programs: IMap<Program> = {};
|
||||
|
||||
for (const params of programsMetadata) {
|
||||
Programs[params.key] = new Program(params.name, params.create);
|
||||
}
|
||||
Reference in New Issue
Block a user