@tmlmobilidade/utils
Version:
A collection of utility functions and helpers for the TML Mobilidade Go monorepo, providing common functionality for batching operations, caching, HTTP requests, object manipulation, permissions, and more.
8 lines (7 loc) • 299 B
TypeScript
/**
* Populates a template object with data from another object.
* @param template The template object to be populated.
* @param data The data object to populate the template with.
* @returns The populated template object.
*/
export default function fillTemplate<T>(template: T, data: any): T;