提交 f9c34a0f 作者: 方治民

合并分支 '3.x' 到 'main'

fix: 修复 eslint 错误

查看合并请求 !19
......@@ -18,10 +18,10 @@ function generateUniComponentsTypes() {
declare module 'vue' {
// shime-uni.d.ts
type Hooks = App.AppInstance & Page.PageInstance;
interface ComponentCustomOptions extends Hooks {}
type ComponentCustomOptions = Hooks
// uni-app components
interface UniComponent extends HTMLElement {}
type UniComponent = HTMLElement
export interface GlobalComponents {
${components.join(',\n\t')}
}
......
......@@ -3,10 +3,10 @@
declare module 'vue' {
// shime-uni.d.ts
type Hooks = App.AppInstance & Page.PageInstance
interface ComponentCustomOptions extends Hooks {}
type ComponentCustomOptions = Hooks
// uni-app components
interface UniComponent extends HTMLElement {}
type UniComponent = HTMLElement
export interface GlobalComponents {
block: UniComponent
view: UniComponent
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论