JSONed
Type Alias: JSONed<T>
JSONed<
T> =Textendsobject?ReturnType<T["toJSON"]> :Textendsany[] ?T:Textendsobject?Pick<T,Extract<Attributes<T>,string>> :T
Defined in: packages/models/src/types.ts:69
JSON-friendly view of a type.
If the object has toJSON(), use its return type; otherwise, fallback to
attributes-only object or the original type.
Type Parameters
T
T