File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { SCSSSelectorParser } from "./selector/scss-selector-parser"
1010 */
1111export class SCSSParser extends CSSParser {
1212 protected parseInternal ( css : string ) : postcss . Root {
13- return postcssScss . parse ( css )
13+ return postcssScss . parse ( css ) as postcss . Root
1414 }
1515
1616 protected createSelectorParser ( ) : SCSSSelectorParser {
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { StylusSelectorParser } from "./selector/stylus-selector-parser"
1010 */
1111export class StylusParser extends CSSParser {
1212 protected parseInternal ( css : string ) : postcss . Root {
13- return postcssStyl . parse ( css )
13+ return postcssStyl . parse ( css ) as postcss . Root
1414 }
1515
1616 protected createSelectorParser ( ) : StylusSelectorParser {
You can’t perform that action at this time.
0 commit comments