isenser-tool
Advanced tools
| declare function sum(a: any, b: any): any; | ||
| declare const FUtils: { | ||
| sum: typeof sum; | ||
| }; | ||
| export default FUtils; |
| function sum(a, b) { | ||
| return a + b + 1 + 3 + 1 + 10; | ||
| } | ||
| // 方法 | ||
| const FUtils = { | ||
| sum | ||
| }; | ||
| export { FUtils }; |
+2
-2
| { | ||
| "name": "isenser-tool", | ||
| "version": "0.0.3", | ||
| "main": "lib/bundle.js", | ||
| "version": "0.0.4", | ||
| "main": "lib/index.js", | ||
| "license": "MIT", | ||
@@ -6,0 +6,0 @@ "scripts": { |
+1
-1
@@ -12,3 +12,3 @@ import babel from 'rollup-plugin-babel' | ||
| output: { | ||
| file: './lib/bundle.js', | ||
| file: './lib/index.js', | ||
| format: 'esm' | ||
@@ -15,0 +15,0 @@ }, |
+1
-1
@@ -30,3 +30,3 @@ { | ||
| // "rootDir": "./", /* Specify the root folder within your source files. */ | ||
| // "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */ | ||
| "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */ | ||
| // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ | ||
@@ -33,0 +33,0 @@ // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ |
| function sum(a, b) { | ||
| return a + b + 1 + 3 + 1 + 10; | ||
| } | ||
| // 方法 | ||
| const FUtils = { | ||
| sum | ||
| }; | ||
| export { FUtils }; |
| declare function sum(a: any, b: any): any; | ||
| declare const FUtils: { | ||
| sum: typeof sum; | ||
| }; | ||
| export default FUtils; |
71240
-0.01%