the requested module 'entry' does not provide an export name 'EnumObject1' which
imported by 'com.example.napidemo/entry/ets/pages/Index'
export enum EnumObject {
VAL_A = 0,
VAL_B,
VAL_C,
}
the requested module 'entry' does not provide an export name 'EnumObject1' which
imported by 'com.example.napidemo/entry/ets/pages/Index'
export enum EnumObject {
VAL_A = 0,
VAL_B,
VAL_C,
}
d.ts是ArkTS与c++的接口文件,不参与编译构建打包,无法实现该效果,已通过生成对应的一个ets的映射文件解决。