Skip to content

Commit

Permalink
feat(uni-app-x harmony): 增加autoImport
Browse files Browse the repository at this point in the history
  • Loading branch information
Wangyaqi committed Jan 14, 2025
1 parent 645edb4 commit 1e9eccc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions packages/uni-app-harmony/build.ets.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,9 @@
],
[
"UniCustomEvent"
],
[
"UniCustomEventOptions"
]
]
},
Expand Down Expand Up @@ -369,6 +372,9 @@
],
[
"UniCustomEvent"
],
[
"UniCustomEventOptions"
]
]
},
Expand Down
3 changes: 2 additions & 1 deletion packages/uni-uts-v1/src/arkts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ export function getArkTSAutoImports(isX = false): AutoImportOptions {
['UniElementImpl'],
['UniTextElement'],
['UniFormControlElement'],
['UniCustomEvent']
['UniCustomEvent'],
['UniCustomEventOptions']
)
}
return mergeArkTSAutoImports(
Expand Down

0 comments on commit 1e9eccc

Please sign in to comment.