eggjs / eggjs/egg

egg-ts-helper 运行 npx ets 后,egg 原本的类型不见了

Open
#5,421 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
19k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

版本如下:
``` json
"dependencies": {
"egg": "^4.0.0",
},
"devDependencies": {
"@types/node": "22",
"egg-ts-helper": "^3.1.1",
"typescript": "^5.1.6"
}
```
手动运行 `npx ets` 后,生成了 `typings` 文件,但是原本的 egg 类型不见了,如下

![Image](https://github.com/user-attachments/assets/08f85738-2f20-4cd2-b6f4-847a1865628e)

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.