mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-11 11:50:54 +08:00
Add dotenv
This commit is contained in:
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
// Type definitions for dotenv 2.0.0
|
||||
// Project: https://github.com/bkeepers/dotenv
|
||||
// Definitions by: Jussi Kinnula <https://github.com/jussikinnula/>
|
||||
// Definitions: https://github.com/jussikinnula/DefinitelyTyped
|
||||
|
||||
interface dotenvOptions {
|
||||
silent?: boolean;
|
||||
path?: string;
|
||||
encoding?: string;
|
||||
}
|
||||
|
||||
declare module 'dotenv' {
|
||||
export function config(options?: dotenvOptions): boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user