Skip to content

Commit 37cfddc

Browse files
author
vikaskaliramna07
committed
lib/declaration.d.ts: updated documentation for important
1 parent affc86d commit 37cfddc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/declaration.d.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,11 @@ declare class Declaration_ extends Node {
9999
value: string
100100

101101
/**
102-
* The `important` property represents a boolean value. If true,
103-
* the CSS declaration will have
102+
* It represents a specificity of the declaration.
103+
*
104+
* If true, the CSS declaration will have an
104105
* [important](https://developer.mozilla.org/en-US/docs/Web/CSS/important)
105-
* specifier
106+
* specifier.
106107
*
107108
* ```js
108109
* const root = postcss.parse('a { color: black !important; color: red }')

0 commit comments

Comments
 (0)