Skip to content

Commit

Permalink
chore: small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
surunzi committed Jun 19, 2020
1 parent 16f0330 commit a7a04fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/domains/CSS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ export function setStyleTexts(params: any) {
}

function formatMatchedCssRule(node: any, matchedCssRule: any) {
const { selectorText } = matchedCssRule;
const selectors = map(selectorText.split(','), trim);
const { selectorText }: { selectorText: string } = matchedCssRule;
const selectors = map(selectorText.split(','), selector => trim(selector));

const shorthandEntries = getShorthandEntries(matchedCssRule.style);
const style = stylesheet.formatStyle(matchedCssRule.style);
Expand Down

0 comments on commit a7a04fb

Please sign in to comment.