mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 22:22:26 +01:00
15 lines
334 B
TypeScript
15 lines
334 B
TypeScript
interface IReviverValue {
|
|
ctor: string;
|
|
data: any;
|
|
}
|
|
export function Generic_fromJSON<T>(ctor: new () => T, data: any): T;
|
|
export function Generic_toJSON(
|
|
ctorName: string,
|
|
obj: any,
|
|
keys?: string[],
|
|
): string;
|
|
export function Reviver(key, value: IReviverValue);
|
|
export namespace Reviver {
|
|
export let constructors: any;
|
|
}
|