Skip to content

Commit

Permalink
chore(types): add es7 options for MpWeixin (#9)
Browse files Browse the repository at this point in the history
Co-authored-by: zhaojinfeng <121016171@qq.com>
Co-authored-by: KeJunMao <kejun1997@gmail.com>
  • Loading branch information
3 people authored Aug 29, 2023
1 parent e736a89 commit d928a43
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/config/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,12 @@ export interface MpWeixin {
setting: {
/** 是否启用 ES6 转 ES5 */
es6: boolean;
/**
* 是否使用增强编译
*
* {@link https://developers.weixin.qq.com/community/develop/doc/0002ce07a58000a57c5da5e6456c09 regeneratorRuntime 相关报错排查指引}
*/
es7: boolean;
/** 是否使用增强编译 */
enhance: boolean;
/** 上传代码时样式是否自动补全 */
Expand Down

0 comments on commit d928a43

Please sign in to comment.