We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sometimes I have config files like
export default defineMyConfig({ title: 'Hello, World!', database: { port: 5330, password: '12348765', }, });
defineMyConfig will deep merge the given config options and default config.
defineMyConfig
...But what's the given options' type? Partial<T> isn't deep.
Partial<T>
My suggestion meets these guidelines:
Adding a built-in type like DeepPartial<T>.
DeepPartial<T>
(in the fist paragraph)
The text was updated successfully, but these errors were encountered:
#51841 (comment)
Sorry, something went wrong.
Ok then...
No branches or pull requests
Suggestion
🔍 Search Terms
Sometimes I have config files like
defineMyConfig
will deep merge the given config options and default config....But what's the given options' type?
Partial<T>
isn't deep.✅ Viability Checklist
My suggestion meets these guidelines:
⭐ Suggestion
Adding a built-in type like
DeepPartial<T>
.📃 Motivating Example
(in the fist paragraph)
💻 Use Cases
(in the fist paragraph)
The text was updated successfully, but these errors were encountered: