UNPKG

scheunemann-interfaces

Version:
15 lines (14 loc) 477 B
"use strict"; // #region Interfaces (1) Object.defineProperty(exports, "__esModule", { value: true }); exports.factoryEnvelope = void 0; // Interface for envelope array structure // #endregion Interfaces (1) // #region Functions (3) // Creates a basic envelope with a single item property function factoryEnvelope(data) { return { item: data, // Make item non-nullable for clarity (adjust based on your use case) }; } exports.factoryEnvelope = factoryEnvelope;