@@ -25,97 +25,97 @@ export function throttleAll<T>(limit: number, tasks: Task<T>[]): Promise<T[]>;
25
25
export function memoize < T > ( fn : ( ( ) => any ) | undefined ) : ( ) => T ;
26
26
/**
27
27
* @param {Input } input
28
- * @param {RawSourceMap | undefined } sourceMap
28
+ * @param {RawSourceMap } [ sourceMap]
29
29
* @param {CustomOptions } [minimizerOptions]
30
30
* @return {Promise<MinimizedResult> }
31
31
*/
32
32
export function cssnanoMinify (
33
33
input : Input ,
34
- sourceMap : RawSourceMap | undefined ,
34
+ sourceMap ?: import ( "@jridgewell/trace-mapping" ) . EncodedSourceMap | undefined ,
35
35
minimizerOptions ?: import ( "./index.js" ) . CustomOptions | undefined ,
36
36
) : Promise < MinimizedResult > ;
37
37
export namespace cssnanoMinify {
38
38
function supportsWorkerThreads ( ) : boolean ;
39
39
}
40
40
/**
41
41
* @param {Input } input
42
- * @param {RawSourceMap | undefined } sourceMap
42
+ * @param {RawSourceMap } [ sourceMap]
43
43
* @param {CustomOptions } [minimizerOptions]
44
44
* @return {Promise<MinimizedResult> }
45
45
*/
46
46
export function cssoMinify (
47
47
input : Input ,
48
- sourceMap : RawSourceMap | undefined ,
48
+ sourceMap ?: import ( "@jridgewell/trace-mapping" ) . EncodedSourceMap | undefined ,
49
49
minimizerOptions ?: import ( "./index.js" ) . CustomOptions | undefined ,
50
50
) : Promise < MinimizedResult > ;
51
51
export namespace cssoMinify {
52
52
function supportsWorkerThreads ( ) : boolean ;
53
53
}
54
54
/**
55
55
* @param {Input } input
56
- * @param {RawSourceMap | undefined } sourceMap
56
+ * @param {RawSourceMap } [ sourceMap]
57
57
* @param {CustomOptions } [minimizerOptions]
58
58
* @return {Promise<MinimizedResult> }
59
59
*/
60
60
export function cleanCssMinify (
61
61
input : Input ,
62
- sourceMap : RawSourceMap | undefined ,
62
+ sourceMap ?: import ( "@jridgewell/trace-mapping" ) . EncodedSourceMap | undefined ,
63
63
minimizerOptions ?: import ( "./index.js" ) . CustomOptions | undefined ,
64
64
) : Promise < MinimizedResult > ;
65
65
export namespace cleanCssMinify {
66
66
function supportsWorkerThreads ( ) : boolean ;
67
67
}
68
68
/**
69
69
* @param {Input } input
70
- * @param {RawSourceMap | undefined } sourceMap
70
+ * @param {RawSourceMap } [ sourceMap]
71
71
* @param {CustomOptions } [minimizerOptions]
72
72
* @return {Promise<MinimizedResult> }
73
73
*/
74
74
export function esbuildMinify (
75
75
input : Input ,
76
- sourceMap : RawSourceMap | undefined ,
76
+ sourceMap ?: import ( "@jridgewell/trace-mapping" ) . EncodedSourceMap | undefined ,
77
77
minimizerOptions ?: import ( "./index.js" ) . CustomOptions | undefined ,
78
78
) : Promise < MinimizedResult > ;
79
79
export namespace esbuildMinify {
80
80
function supportsWorkerThreads ( ) : boolean ;
81
81
}
82
82
/**
83
83
* @param {Input } input
84
- * @param {RawSourceMap | undefined } sourceMap
84
+ * @param {RawSourceMap } [ sourceMap]
85
85
* @param {CustomOptions } [minimizerOptions]
86
86
* @return {Promise<MinimizedResult> }
87
87
*/
88
88
export function parcelCssMinify (
89
89
input : Input ,
90
- sourceMap : RawSourceMap | undefined ,
90
+ sourceMap ?: import ( "@jridgewell/trace-mapping" ) . EncodedSourceMap | undefined ,
91
91
minimizerOptions ?: import ( "./index.js" ) . CustomOptions | undefined ,
92
92
) : Promise < MinimizedResult > ;
93
93
export namespace parcelCssMinify {
94
94
function supportsWorkerThreads ( ) : boolean ;
95
95
}
96
96
/**
97
97
* @param {Input } input
98
- * @param {RawSourceMap | undefined } sourceMap
98
+ * @param {RawSourceMap } [ sourceMap]
99
99
* @param {CustomOptions } [minimizerOptions]
100
100
* @return {Promise<MinimizedResult> }
101
101
*/
102
102
export function lightningCssMinify (
103
103
input : Input ,
104
- sourceMap : RawSourceMap | undefined ,
104
+ sourceMap ?: import ( "@jridgewell/trace-mapping" ) . EncodedSourceMap | undefined ,
105
105
minimizerOptions ?: import ( "./index.js" ) . CustomOptions | undefined ,
106
106
) : Promise < MinimizedResult > ;
107
107
export namespace lightningCssMinify {
108
108
function supportsWorkerThreads ( ) : boolean ;
109
109
}
110
110
/**
111
111
* @param {Input } input
112
- * @param {RawSourceMap | undefined } sourceMap
112
+ * @param {RawSourceMap } [ sourceMap]
113
113
* @param {CustomOptions } [minimizerOptions]
114
114
* @return {Promise<MinimizedResult> }
115
115
*/
116
116
export function swcMinify (
117
117
input : Input ,
118
- sourceMap : RawSourceMap | undefined ,
118
+ sourceMap ?: import ( "@jridgewell/trace-mapping" ) . EncodedSourceMap | undefined ,
119
119
minimizerOptions ?: import ( "./index.js" ) . CustomOptions | undefined ,
120
120
) : Promise < MinimizedResult > ;
121
121
export namespace swcMinify {
0 commit comments