kihlh / hmc-win32

HMC Easier Access to System APIs 简化连接winapi的过程的node c++模块
https://kihlh.gitbook.io/hmc/
MIT License
85 stars 11 forks source link

`node_modules/hmc-win32/hmc.d.ts(3215,17): error TS2708: Cannot use namespace 'HMC' as a value.` #7

Closed JellyBrick closed 1 year ago

JellyBrick commented 1 year ago

image

HMC: typeof HMC;

TS2708: Cannot use namespace 'HMC' as a value.

kihlh commented 1 year ago

HMC: typeof HMC;" is TypeScript's own analysis and addition. You can directly remove the "HMC" type from the hmc object. This issue will be addressed in the next version.

kihlh commented 1 year ago

The solution to this problem has been supported in version 1.3.7.