Open zcharym opened 2 years ago
执行过程:通过tsc执行配置文件,读取jsdoc type注释生成d.ts文件
期望结果:d.ts生成文件无报错
实际结果:TS Error TS9006
TS9006: Declaration emit for this file requires using private name 'DescribeDepartmentsRequest' from module '"C:/**/cvm /v**/models"'. An explicit type annotation may unblock declaration emit.
tsconfig.build.json 参考:
{ "compilerOptions": { "allowJs": true, "declaration": true, "declarationMap": true, "emitDeclarationOnly": true, "outDir": "node_modules/@types/tencentcloud-sdk-nodejs/tencentcloud" } }
执行过程:通过tsc执行配置文件,读取jsdoc type注释生成d.ts文件
期望结果:d.ts生成文件无报错
实际结果:TS Error TS9006
tsconfig.build.json 参考: