Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a direct export to ConfigModuleOptions interface and other interfaces #481

Closed
YarivGilad opened this issue Jan 29, 2021 · 2 comments
Closed

Comments

@YarivGilad
Copy link

I'm submitting a...


[ ] Regression 
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.

Current behavior

At the moment, that is the only way I was able to import this type:


import { ConfigModuleOptions } from '@nestjs/config/dist/interfaces/config-module-options.interface';

const options: ConfigModuleOptions = { envFilePath: '...',  cache:true,  ... }

Expected behavior


import { ConfigModuleOptions } from '@nestjs/config';

const options: ConfigModuleOptions = { envFilePath: '...',  cache:true,  ... }

Environment


"@nestjs/common": "^7.5.1", 
"@nestjs/config": "^0.6.2",


@jmcdo29
Copy link
Member

jmcdo29 commented Jan 29, 2021

Would you like to create the PR for this?

@Tony133 Tony133 mentioned this issue Feb 1, 2021
3 tasks
@kamilmysliwiec
Copy link
Member

Added in 0.6.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants