File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export interface NodeBase {
28
28
// Inherited from postcss.ContainerBase with no changes.
29
29
source ?: postcss . NodeSource ;
30
30
raws : postcss . NodeRaws ;
31
- toString ( stringifier ?: postcss . Stringifier | postcss . Syntax ) : string ;
31
+ toString ( stringifier ?: Stringifier | Syntax ) : string ;
32
32
error (
33
33
message : string ,
34
34
options ?: postcss . NodeErrorOptions
@@ -210,6 +210,18 @@ export interface VariablesOptions {
210
210
prefixes : string [ ] ;
211
211
}
212
212
213
- export const stringify : postcss . Stringifier ;
213
+ interface Syntax {
214
+ stringify ?: Stringifier ;
215
+ }
216
+
217
+ interface Builder {
218
+ ( part : string , node ?: Node , type ?: "start" | "end" ) : void ;
219
+ }
220
+
221
+ export interface Stringifier {
222
+ ( node : Node , builder : Builder ) : void ;
223
+ }
224
+
225
+ export const stringify : Stringifier ;
214
226
215
227
export function nodeToString ( node : Node ) : string ;
You can’t perform that action at this time.
0 commit comments