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.

18 lines 597 B
/** * This `NoOpSerdeAdapter` will do nothing and is used for easily mocking {@link IFlexibleSerde | `IFlexibleSerde`} for testing. * * IMPORT_PATH: `"@daiso-tech/core/serde/adapters"` * @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