mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
fix: change json to any (#15596)
This commit is contained in:
parent
172e6f79a3
commit
99d4280c4e
4
types/synaptic/index.d.ts
vendored
4
types/synaptic/index.d.ts
vendored
@ -328,7 +328,7 @@ export class Network {
|
||||
/**
|
||||
* Networks can be stored as JSON's.
|
||||
*/
|
||||
toJSON(): string;
|
||||
toJSON(): any;
|
||||
|
||||
/**
|
||||
* Creates a static String to store the source code of the functions that are identical for all the workers (train, _trainSet, test).
|
||||
@ -339,7 +339,7 @@ export class Network {
|
||||
/**
|
||||
* Rebuild a network that has been stored in a json using the method toJSON().
|
||||
*/
|
||||
static fromJSON(exported: string): Network;
|
||||
static fromJSON(exported: any): Network;
|
||||
|
||||
/**
|
||||
* The network can be converted into a WebWorker. This feature doesn't work in node.js, and it's not supported on every browser (it must support Blob).
|
||||
|
||||
Loading…
Reference in New Issue
Block a user