We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7301ac9 commit ceae177Copy full SHA for ceae177
types/index.d.ts
@@ -55,12 +55,5 @@ export interface DotenvConfigOutput {
55
*
56
*/
57
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
65
/** @deprecated since v7.0.0 Use config instead. */
66
export const load: typeof config;
types/test.ts
@@ -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
-};
+import { config, parse } from "dotenv";
7
8
const env = config();
9
const dbUrl: string | null =
0 commit comments