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

Merge branch '2-add-optional-prefix-for-env-variables' into 'main'

readded config to export

Closes #2

See merge request !7
parents cec3a017 d24103ad
No related branches found
No related tags found
1 merge request!7readded config to export
Pipeline #65506 passed
// 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.
Finish editing this message first!
Please register or to comment