@e-mc/types 0.8.25 → 0.8.26
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 +3 -3
- package/constant.d.ts +1 -1
- package/lib/document.d.ts +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
## Interface
|
|
11
11
|
|
|
12
|
-
- https://www.unpkg.com/@e-mc/types@0.8.
|
|
12
|
+
- https://www.unpkg.com/@e-mc/types@0.8.26/index.d.ts
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
15
|
import type { LogArguments } from "./lib/logger";
|
|
@@ -186,8 +186,8 @@ const IMPORT_MAP: Record<string, string | undefined>;
|
|
|
186
186
|
|
|
187
187
|
## References
|
|
188
188
|
|
|
189
|
-
- https://www.unpkg.com/@e-mc/types@0.8.
|
|
190
|
-
- https://www.unpkg.com/@e-mc/types@0.8.
|
|
189
|
+
- https://www.unpkg.com/@e-mc/types@0.8.26/lib/logger.d.ts
|
|
190
|
+
- https://www.unpkg.com/@e-mc/types@0.8.26/lib/module.d.ts
|
|
191
191
|
|
|
192
192
|
* https://nodejs.org/api/perf_hooks.html
|
|
193
193
|
* https://www.npmjs.com/package/@types/bytes
|
package/constant.d.ts
CHANGED
package/lib/document.d.ts
CHANGED
|
@@ -80,7 +80,7 @@ export interface TransformOptions<T = AnyObject, U = T> extends TransformOutput
|
|
|
80
80
|
supplementChunks: ChunkData[];
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export interface ITransformSeries<T = AnyObject, U = T> extends IModule, TransformOptions<T, U> {
|
|
83
|
+
export interface ITransformSeries<T = AnyObject, U = T, V = object> extends IModule, TransformOptions<T, U> {
|
|
84
84
|
readonly type: string;
|
|
85
85
|
init(instance: IModule, dirname?: string): this;
|
|
86
86
|
close(instance: IModule): void;
|
|
@@ -88,11 +88,11 @@ export interface ITransformSeries<T = AnyObject, U = T> extends IModule, Transfo
|
|
|
88
88
|
getMainFile(code?: string, imports?: StringMap): Undef<SourceInput<string>>;
|
|
89
89
|
getSourceFiles(imports?: StringMap): Undef<SourceInput>;
|
|
90
90
|
toBaseConfig(all?: boolean): T;
|
|
91
|
-
upgrade<
|
|
91
|
+
upgrade<W = unknown>(context: W, dirname?: string, name?: string): W;
|
|
92
92
|
set code(value);
|
|
93
93
|
get code(): string;
|
|
94
94
|
get out(): IOut;
|
|
95
|
-
get metadata():
|
|
95
|
+
get metadata(): V;
|
|
96
96
|
get options(): TransformOutput;
|
|
97
97
|
get productionRelease(): boolean;
|
|
98
98
|
get imported(): boolean;
|