vivth 1.3.0 → 1.3.1
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/README.md +2 -1
- package/package.json +1 -1
- package/src/doc/JSautoDOC.mjs +2 -0
- package/types/src/doc/JSautoDOC.d.mts +1 -0
package/README.md
CHANGED
|
@@ -2367,7 +2367,8 @@ npm i vivth
|
|
|
2367
2367
|
>>- you can always look at `vivth/src` files to check how the source, and the `README.md` and `index.mjs` documentation/generation results;
|
|
2368
2368
|
>6) this types of arrow functions will be converted to regullar function, for concise type emition:
|
|
2369
2369
|
>>- validly exported function;
|
|
2370
|
-
>>- static/instance method(s) with generic template;
|
|
2370
|
+
>>- static/instance method(s) with generic template;
|
|
2371
|
+
>7) transpile `.ts` and `.mts` to `.mjs` same name and directory;
|
|
2371
2372
|
|
|
2372
2373
|
|
|
2373
2374
|
#### reference:`new JSautoDOC`
|
package/package.json
CHANGED
package/src/doc/JSautoDOC.mjs
CHANGED
|
@@ -50,6 +50,7 @@ const acceptableExt = new Set(['.mjs', '.mts', '.ts']);
|
|
|
50
50
|
* >6) this types of arrow functions will be converted to regullar function, for concise type emition:
|
|
51
51
|
* >>- validly exported function;
|
|
52
52
|
* >>- static/instance method(s) with generic template;
|
|
53
|
+
* >7) transpile `.ts` and `.mts` to `.mjs` same name and directory;
|
|
53
54
|
*/
|
|
54
55
|
export class JSautoDOC {
|
|
55
56
|
/**
|
|
@@ -114,6 +115,7 @@ export class JSautoDOC {
|
|
|
114
115
|
return;
|
|
115
116
|
}
|
|
116
117
|
if (ext !== '.mjs') {
|
|
118
|
+
// no need to be awaited
|
|
117
119
|
TsToMjs(path, {
|
|
118
120
|
encoding,
|
|
119
121
|
});
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
* >6) this types of arrow functions will be converted to regullar function, for concise type emition:
|
|
19
19
|
* >>- validly exported function;
|
|
20
20
|
* >>- static/instance method(s) with generic template;
|
|
21
|
+
* >7) transpile `.ts` and `.mts` to `.mjs` same name and directory;
|
|
21
22
|
*/
|
|
22
23
|
export class JSautoDOC {
|
|
23
24
|
/**
|