ArkTS引入三方富文本库报错是怎么回事?

ArkTS引入三方富文本库报错是怎么回事?
在sdk a中源码引入编译没有报错,sdk b引入sdk a时报错,怎么回事?

> > hvigor ERROR: Failed :xxx_common_module:default@HarCompileArkTS...
> hvigor ERROR: ArkTS Compiler Error
ERROR: ArkTS:ERROR File: x_im_module/oh_modules/.ohpm/@x+base-xxx@0.0.1-rc.17/oh_modules/@x/base-xxx/src/main/ets/richtext/common/utils/css/index.ts:77:17
The inferred type of 'excludeExtendsParentArtUIStyle' cannot be named without a reference to '.ohpm/@x+base-xxx@0.0.1-rc.17/oh_modules/@x/base-xxx/src/main/ets/richtext/common/types/artUIEnum'. This is likely not portable. A type annotation is necessary.
阅读 506
1 个回答

兼容性问题、引入方式错误、配置缺失或错误、类型问题、版本冲突

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进