@ywfe/fe-tools 1.2.1-beta.14 → 1.2.1-beta.15

Sign up to get free protection for your applications and to get access to all the features.
package/index.ts CHANGED
@@ -1 +1,2 @@
1
+ export { default as request } from './request'
1
2
  export { default as JSON2String } from './JSON2String'
package/lib/index.d.ts CHANGED
@@ -1 +1,2 @@
1
+ export { default as request } from './request';
1
2
  export { default as JSON2String } from './JSON2String';
@@ -0,0 +1,9 @@
1
+ interface RequestOptions {
2
+ url: string;
3
+ method?: string;
4
+ params?: any;
5
+ }
6
+ declare function request({ input }: {
7
+ input: RequestOptions;
8
+ }): Promise<any>;
9
+ export default request;