Skip to content
Snippets Groups Projects
Commit d24103ad authored by Sigmund, Dominik's avatar Sigmund, Dominik
Browse files

readded config to export

parent 907e39ef
No related branches found
No related tags found
1 merge request!7readded config to export
Pipeline #65504 passed
This commit is part of merge request !7. Comments created here will be created in the context of that merge request.
// Define the shape of the return type of the config function
interface Config {
export interface Config {
_reload(): void;
_show(): any;
[key: string]: any; // Index signature for dynamic properties
}
// Declare the function that returns a Config object
declare function createConfig(basePath?: string, envPrefix?: string): Config;
export declare function createConfig(basePath?: string, envPrefix?: string): Config;
// Export the declared function
export = createConfig;
{
"name": "@libs/config",
"version": "1.13.4",
"version": "1.13.5",
"description": "Simple Config with ENV Support",
"main": "index.js",
"scripts": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment