v0.7.3
This commit is contained in:
Vendored
+37
@@ -0,0 +1,37 @@
|
||||
import React from 'react';
|
||||
|
||||
declare const _default$3: any;
|
||||
|
||||
declare const _default$2: any;
|
||||
|
||||
declare class Cache {
|
||||
constructor(target: any, fn: any);
|
||||
get: (...args: any[]) => Promise<any>;
|
||||
#private;
|
||||
}
|
||||
|
||||
declare const _default$1: any;
|
||||
|
||||
declare const pipe: any;
|
||||
|
||||
declare const _default: any;
|
||||
|
||||
declare const AppContext: React.Context<{
|
||||
user: {};
|
||||
initUser: () => void;
|
||||
initUserComplete: boolean;
|
||||
}>;
|
||||
declare const AppGlobalParamsContext: React.Context<{
|
||||
set: () => void;
|
||||
get: () => void;
|
||||
assign: () => void;
|
||||
currentRoute: () => void;
|
||||
}>;
|
||||
|
||||
/**
|
||||
* 判断是否是 React 组件, 大写字母开头的函数则判断为组件
|
||||
*/
|
||||
declare function isReactComponent(component: any): boolean;
|
||||
declare function insertStyle(css: any, id: any): any;
|
||||
|
||||
export { AppContext, AppGlobalParamsContext, Cache as cache, _default$1 as configure, _default$3 as default, pipe as func, _default$2 as http, insertStyle, isReactComponent, _default as route };
|
||||
Reference in New Issue
Block a user