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

生成的类型文件中,会有嵌套的declare module,这个是不符合ts语法的 #10

Open
listen936 opened this issue Dec 12, 2024 · 0 comments

Comments

@listen936
Copy link

A.proto 文件中 import B.proto, 生成的.d.ts 文件会是
declare module A {
declare module B {}
}
这样的形式,ts 会报错 ”不能在已有的环境上下文中使用 "declare" 修饰符“

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