Skip to content

Commit ceae177

Browse files
committed
Remove main interface for now - was never published
1 parent 7301ac9 commit ceae177

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

types/index.d.ts

-7
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,5 @@ export interface DotenvConfigOutput {
5555
*
5656
*/
5757
export function config(options?: DotenvConfigOptions): DotenvConfigOutput;
58-
59-
/** dotenv library interface */
60-
export interface DotEnv {
61-
config: typeof config;
62-
parse: typeof parse;
63-
}
64-
6558
/** @deprecated since v7.0.0 Use config instead. */
6659
export const load: typeof config;

types/test.ts

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
import * as dotenv from "dotenv";
2-
3-
const { config, parse }: dotenv.DotEnv = {
4-
config: dotenv.config,
5-
parse: dotenv.parse
6-
};
1+
import { config, parse } from "dotenv";
72

83
const env = config();
94
const dbUrl: string | null =

0 commit comments

Comments
 (0)