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

[RFC] Config 类型问题 #90

Open
noahziheng opened this issue May 31, 2022 · 1 comment
Open

[RFC] Config 类型问题 #90

noahziheng opened this issue May 31, 2022 · 1 comment

Comments

@noahziheng
Copy link
Member

现阶段 Core 中的 config 类型仅是单纯的 Record<string, any>,需要由上层框架自行覆盖;

对于用户自行定义的配置和插件内配置类型,受到扫描+合并的限制,没法静态解决。

考虑提供统一的导出机制(固定文件写类型)或干脆还是浅搞套类型生成器处理这一问题。

@DevXiaolan
Copy link
Contributor

切实感受到了,关注这个结果

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

2 participants