@ywfe/fe-tools 1.2.1-beta.33 → 1.2.1-beta.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/handler.ts ADDED
@@ -0,0 +1,3 @@
1
+ // Ctrl-S保存代码
2
+ function handler(){return 1}
3
+ export default handler
package/index.ts CHANGED
@@ -1,3 +1,2 @@
1
- export { default as request } from './request'
2
1
  export { default as userInputToJson } from './userInputToJson'
3
- export { default as JSON2String } from './JSON2String'
2
+ export { default as handler } from './handler'
@@ -0,0 +1,2 @@
1
+ declare function handler(): number;
2
+ export default handler;
package/lib/index.d.ts CHANGED
@@ -1,3 +1,2 @@
1
- export { default as request } from './request';
2
1
  export { default as userInputToJson } from './userInputToJson';
3
- export { default as JSON2String } from './JSON2String';
2
+ export { default as handler } from './handler';
@@ -4,9 +4,5 @@ interface userInput {
4
4
  }
5
5
  declare function userInputToJson({ input }: {
6
6
  input: userInput;
7
- }): Promise<{
8
- message: string;
9
- success: boolean;
10
- data: any;
11
- }>;
7
+ }): Promise<string>;
12
8
  export default userInputToJson;