Interface for classes that can be converted to JSON.
class MyClass implements IToJSON<{name: string}> {} Copy
class MyClass implements IToJSON<{name: string}> {}
v0.1.0
The type of the JSON output from class method or function
Interface for classes that can be converted to JSON.
Example
Since
v0.1.0