提交 3e767812 编写于 作者: Q qiang

fix: types for UniApp namespace

上级 d21c8f26
...@@ -13,7 +13,7 @@ declare namespace Page { ...@@ -13,7 +13,7 @@ declare namespace Page {
} }
} }
} }
declare namespace UniApp { declare namespace UniNamespace {
type ClassObj = Record<string, boolean> type ClassObj = Record<string, boolean>
type StyleObj = Record<string, any> type StyleObj = Record<string, any>
type PLATFORM = keyof PagesJsonPagePlatformStyle type PLATFORM = keyof PagesJsonPagePlatformStyle
...@@ -496,3 +496,5 @@ declare namespace UniApp { ...@@ -496,3 +496,5 @@ declare namespace UniApp {
): void ): void
} }
} }
import UniApp = UniNamespace
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册