Skip to content

Commit 022f6da

Browse files
committed
Mark recursivelyResolve as optional.
1 parent acb0e51 commit 022f6da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css-property-parser.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ declare namespace CssPropertyParser {
4343
* @param {boolean} recursivelyResolve - recursively resolve additional
4444
* longhand properties if the shorthands expand to additional shorthands. For
4545
* example, the border property expands to border-width, which expands further
46-
* to border-left-width, border-right-width, etc.
46+
* to border-left-width, border-right-width, etc. Defaults to false.
4747
* @returns {Array} - an array containing the computed properties for the given
4848
* shorthand property. Returns an empty array if the given property is not a
4949
* valid property.
5050
*/
5151
function getShorthandComputedProperties(
5252
shorthandProperty: string,
53-
recursivelyResolve: boolean
53+
recursivelyResolve?: boolean
5454
): Array<string>;
5555

5656
/**

0 commit comments

Comments
 (0)