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