Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

现在可以支持生成纯js项目的扩展吗? #81

Open
shadowfish07 opened this issue Feb 15, 2022 · 0 comments
Open

现在可以支持生成纯js项目的扩展吗? #81

shadowfish07 opened this issue Feb 15, 2022 · 0 comments

Comments

@shadowfish07
Copy link

node version v14.19.0
egg version 2.33.1

现在看生成的d.ts文件还是空的类

import 'egg';
import ExtendResponse = require('../../../app/extend/response');
type ExtendResponseType = typeof ExtendResponse;
declare module 'egg' {
  interface Response extends ExtendResponseType { }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant