mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #26852 from Jimexist/add-export-type
adding namespace wepy for wepy
This commit is contained in:
Vendored
+13
-5
@@ -13,12 +13,20 @@ import util from "./util";
|
||||
import base from "./base";
|
||||
import { WxEnhances } from "./wx_enhanced";
|
||||
|
||||
export as namespace wepy;
|
||||
|
||||
export type Event = typeof event;
|
||||
export type Component = typeof component;
|
||||
export type App = typeof app;
|
||||
export type Page = typeof page;
|
||||
export type Mixin = typeof mixin;
|
||||
|
||||
interface DefaultExport extends WxEnhances {
|
||||
event: typeof event;
|
||||
app: typeof app;
|
||||
component: typeof component;
|
||||
page: typeof page;
|
||||
mixin: typeof mixin;
|
||||
event: wepy.Event;
|
||||
app: wepy.App;
|
||||
component: wepy.Component;
|
||||
page: wepy.Page;
|
||||
mixin: wepy.Mixin;
|
||||
$createApp: typeof base.$createApp;
|
||||
$createPage: typeof base.$createPage;
|
||||
$isEmpty: typeof util.$isEmpty;
|
||||
|
||||
Reference in New Issue
Block a user