There is a function within a Node module that I am trying to document in a .d.ts
file. This function has two aliases, config()
and load()
(check the source here). The function definition in the dotenv/index.d.ts
file looks like this:
export function config(options?: dotenvOptions): Object;
How can I export this function under the alias load()
as well?