1.ohpm install @type/node

2.导入一个模块

import * as fs from 'fs';

编译报错

 

 

Logo

社区规范:仅讨论OpenHarmony相关问题。

更多推荐