Skip to content

Commit

Permalink
fix: broke declaration file
Browse files Browse the repository at this point in the history
  • Loading branch information
mhweiner committed May 28, 2023
1 parent ef3a33c commit ff8464b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/global.d.ts

This file was deleted.

2 changes: 2 additions & 0 deletions src/index.ts
Expand Up @@ -4,6 +4,8 @@ import {resolveConf} from './resolveConf';
import {loadConfFromFiles} from './loadConfFromFiles';
import {mergeConfs} from './mergeConfs';

export interface Conf {}

export type Loader<I, O> = (params: I) => O;
export type LoaderDict = {[name: string]: Loader<any, any>};

Expand Down
2 changes: 1 addition & 1 deletion src/writeConfFile.ts
Expand Up @@ -18,7 +18,7 @@ export async function writeConfFile(): Promise<void> {
const ts = `
import {Conf} from "lambdaconf";
declare module "lambdaconf" {
export type Conf = {
export interface Conf = {
${props(defaultConfig)}
}
}
Expand Down

0 comments on commit ff8464b

Please sign in to comment.