Skip to content

Commit 27a3162

Browse files
committed
Make typescript definitions compatible with noImplicitAny.
1 parent 9f68704 commit 27a3162

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

postcss-selector-parser.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,15 +172,15 @@ declare namespace parser {
172172
* @param value the unescaped value of the property
173173
* @param valueEscaped optional. the escaped value of the property.
174174
*/
175-
setPropertyAndEscape(name: string, value: any, valueEscaped: string);
175+
setPropertyAndEscape(name: string, value: any, valueEscaped: string): void;
176176
/**
177177
* When you want a value to passed through to CSS directly. This method
178178
* deletes the corresponding raw value causing the stringifier to fallback
179179
* to the unescaped value.
180180
* @param name the property to set.
181181
* @param value The value that is both escaped and unescaped.
182182
*/
183-
setPropertyWithoutEscape(name: string, value: any);
183+
setPropertyWithoutEscape(name: string, value: any): void;
184184
/**
185185
* Some non-standard syntax doesn't follow normal escaping rules for css.
186186
* This allows non standard syntax to be appended to an existing property
@@ -190,7 +190,7 @@ declare namespace parser {
190190
* @param {any} value the unescaped value of the property
191191
* @param {string} valueEscaped optional. the escaped value of the property.
192192
*/
193-
appendToPropertyAndEscape(name, value, valueEscaped);
193+
appendToPropertyAndEscape(name: string, value: any, valueEscaped: string): void;
194194
toString(): string;
195195
}
196196
interface ContainerOptions extends NodeOptions {

0 commit comments

Comments
 (0)