UNPKG

@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.

22 lines 689 B
/** * @module Serde */ import {} from "../../../../serde/contracts/_module.js"; /** * The `NoOpSerdeAdapter` will do nothing and is used for easily mocking {@link IFlexibleSerde | `IFlexibleSerde`} for testing. * * IMPORT_PATH: `"@daiso-tech/core/serde/no-op-serde-adapter"` * @group Adapters */ export class NoOpSerdeAdapter { serialize(value) { // eslint-disable-next-line @typescript-eslint/no-unsafe-return return value; } deserialize(serializedValue) { // eslint-disable-next-line @typescript-eslint/no-unsafe-return return serializedValue; } registerCustom(_transformer) { } } //# sourceMappingURL=no-op-serde-adapter.js.map