Skip to content

Commit affc86d

Browse files
author
vikaskaliramna07
committed
updated external link documentation
1 parent d15ea5b commit affc86d

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

lib/comment.d.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,8 @@ declare namespace Comment {
3232

3333

3434
/**
35-
* It represents a class that handles CSS comments.
36-
*
37-
* Learn more about CSS Specificity
38-
* [here](https://developer.mozilla.org/en-US/docs/Web/CSS/Comments)
35+
* It represents a class that handles
36+
* [CSS comments](https://developer.mozilla.org/en-US/docs/Web/CSS/Comments)
3937
*
4038
* ```js
4139
* Once (root, { Comment }) {

lib/declaration.d.ts

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,8 @@ declare namespace Declaration {
4444
}
4545

4646
/**
47-
* It represents a class that handles CSS declarations.
48-
*
49-
* Learn more about CSS Specificity
50-
* [here](https://developer.mozilla.org/en-US/docs/Web/CSS/Syntax#css_declarations)
47+
* It represents a class that handles
48+
* [CSS declarations](https://developer.mozilla.org/en-US/docs/Web/CSS/Syntax#css_declarations)
5149
*
5250
* ```js
5351
* Once (root, { Declaration }) {
@@ -102,10 +100,9 @@ declare class Declaration_ extends Node {
102100

103101
/**
104102
* The `important` property represents a boolean value. If true,
105-
* the CSS declaration will have important specifier.
106-
*
107-
* Learn more about CSS Specificity
108-
* [here](https://developer.mozilla.org/en-US/docs/Web/CSS/Syntax#css_declarations)
103+
* the CSS declaration will have
104+
* [important](https://developer.mozilla.org/en-US/docs/Web/CSS/important)
105+
* specifier
109106
*
110107
* ```js
111108
* const root = postcss.parse('a { color: black !important; color: red }')

0 commit comments

Comments
 (0)