all typescript

This commit is contained in:
Olivier Gagnon
2021-09-24 21:49:49 -04:00
parent 1d349c25f7
commit dc2bf871cf
9 changed files with 831 additions and 549 deletions

View File

@@ -40,14 +40,14 @@ export class WorkerScript {
/**
* Stores names of all functions that have logging disabled
*/
disableLogs: IMap<string> = {};
disableLogs: IMap<boolean> = {};
/**
* Used for dynamic RAM calculation. Stores names of all functions that have
* already been checked by this script.
* TODO: Could probably just combine this with loadedFns?
*/
dynamicLoadedFns: IMap<string> = {};
dynamicLoadedFns: IMap<boolean> = {};
/**
* Tracks dynamic RAM usage