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

配置项ts定义0注释 #109

Open
AntiMoron opened this issue Apr 14, 2023 · 1 comment
Open

配置项ts定义0注释 #109

AntiMoron opened this issue Apr 14, 2023 · 1 comment

Comments

@AntiMoron
Copy link

image

这是我实际使用情况都是无提示的,懂哥改下格式研发体验会更好。希望是

export interface ClientOptions {
    /**
     * 寻址模式下的对端 host(我看java那边能直接写端口号的,咱们这能不能写端口希望能细化说清楚些)
     * @example
     * "nacos.example.com:80"
     */
    endpoint?: string;
}
@AntiMoron
Copy link
Author

按jsdoc写,并且带了example,自动补全时候真的就是无脑用。很爽的

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

1 participant