Skip to content

Commit

Permalink
Merge pull request #1918 from tim-we/at-rule-doc-fix
Browse files Browse the repository at this point in the history
Fix code example for `name` in at-rule.d.ts
  • Loading branch information
ai committed Jan 30, 2024
2 parents 763d57b + b81c733 commit 219dd75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/at-rule.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ declare class AtRule_ extends Container {
*
* ```js
* const root = postcss.parse('@media print {}')
* media.name //=> 'media'
* const media = root.first
* media.name //=> 'media'
* ```
*/
name: string
Expand Down

0 comments on commit 219dd75

Please sign in to comment.