alibaba / alibaba/ice

ice的js模板工程,引入js编写的npm包(没有@type),代码补全,代码自动提示功能无法正常使用

Open
#3,757 0 comments 0 reactions 1 assignee Claimed by @imsobear View on GitHub
Dominant language
TypeScript
Stars
18.6k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Description

## 发生了什么?
ice的js模板工程,引入js编写的npm包(没有@type),代码补全,代码自动提示功能无法正常使用
![image](https://user-images.githubusercontent.com/41989206/97938203-c835f000-1dbb-11eb-89ee-5c0b9d96126d.png)
## 复现步骤,错误日志以及相关配置
1 用官方的icejs js模板
2 安装js的npm包
3 代码补全无法显示
4 修改tsconfig.json文件,将include中的src去掉,代码可以补全了,但运行时系统报错
![image](https://user-images.githubusercontent.com/41989206/97938475-7346a980-1dbc-11eb-908a-e654b0517e22.png)

## 期望的结果是什么
希望js模板工程,可以正常代码补全那些js 的npm包

## 相关环境信息

- **ice.js 版本**:
- **build.json 配置**:
- **Node 版本**:
- **操作系统**:

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.