@daiso-tech/core
Version:
The library offers flexible, framework-agnostic solutions for modern web applications, built on adaptable components that integrate seamlessly with popular frameworks like Next Js.
13 lines (12 loc) • 516 B
TypeScript
/**
* @module Serde
*/
import type { ISerializer } from "../../serde/contracts/serializer.contract.js";
import type { IDeserializer } from "../../serde/contracts/deserializer.contract.js";
/**
* The `ISerde` contract defines a standard way to serialize and deserialize plain data, excluding support for custom classes.
*
* IMPORT_PATH: `"@daiso-tech/core/serde/contracts"`
* @group Contracts
*/
export type ISerde<TSerializedValue = unknown> = ISerializer<TSerializedValue> & IDeserializer<TSerializedValue>;