Skip to content

Commit e8d4de9

Browse files
loiloevilebottnawi
authored andcommitted
fix: Remove parameter initializers from declarations (#53)
1 parent be8b1df commit e8d4de9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ declare namespace postcssValueParser {
121121
* @param callback A visitor callback that will be executed for each node
122122
* @param bubble When set to `true`, walking will be done inside-out instead of outside-in
123123
*/
124-
walk(callback: WalkCallback, bubble: boolean = false): this;
124+
walk(callback: WalkCallback, bubble?: boolean): this;
125125
}
126126

127127
interface ValueParser {
@@ -149,7 +149,7 @@ declare namespace postcssValueParser {
149149
* @param callback A visitor callback that will be executed for each node
150150
* @param bubble When set to `true`, walking will be done inside-out instead of outside-in
151151
*/
152-
walk(nodes: Node[], callback: WalkCallback, bubble: boolean = false): void;
152+
walk(nodes: Node[], callback: WalkCallback, bubble?: boolean): void;
153153

154154
/**
155155
* Parse a CSS value into a series of nodes to operate on

0 commit comments

Comments
 (0)