@mdf.js/utils
Version:
MMS - API Core - Common utils tools
17 lines • 538 B
TypeScript
/**
* Copyright 2024 Mytra Control S.L. All rights reserved.
*
* Use of this source code is governed by an MIT-style license that can be found in the LICENSE file
* or at https://opensource.org/licenses/MIT.
*/
/** Logger instance */
export type LoggerInstance = {
debug: (message: string) => void;
};
/**
* Load the file from the path if this exist
* @param path - path to file
* @returns
*/
export declare function loadFile(path?: string, logger?: LoggerInstance): Buffer | undefined;
//# sourceMappingURL=loadFile.d.ts.map