alibaba / alibaba/lowcode-engine

使用官方demo启动的项目找不到@alilc/lowcode-engine-ext的typescript 类型

Open
#2,840 0 comments 1 reaction 1 assignee Claimed by @hzd822 View on GitHub
Dominant language
TypeScript
Stars
15.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

## **Describe the bug (required)** / **详细描述 bug(必填)**

A clear and concise description of what the bug is. / 请提供清晰且精确的 bug 描述
官方demo [demo-general](https://github.com/alibaba/lowcode-demo/tree/main/demo-general)
初始化工程后typescript检查的warning如下

无法找到模块“@alilc/lowcode-engine-ext”的声明文件。“/Users/didi/work/xmf/mf-mis/node_modules/@alilc/lowcode-engine-ext/lib/index.js”隐式拥有 "any" 类型。
尝试使用 `npm i --save-dev @types/alilc__lowcode-engine-ext` (如果存在),或者添加一个包含 `declare module '@alilc/lowcode-engine-ext';` 的新声明(.d.ts)文件
---

## **Screenshots (optional)** / **bug 截图(可选)**
Sceenshots for further information. (If applicable.) / 一些有用的截图将会帮助我们更好的明确以及定位问题
image
---

## **Environments (please complete the following information) (required):** / **请提供如下信息(必填)**
- AliLowCodeEngine version: v1.2.5
- AliLowCodeEngineExt version: v1.0.6

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.