@@ -119,7 +119,7 @@ interface CDOCommentToken {
119
119
val : string ;
120
120
}
121
121
interface BadCDOCommentToken {
122
- typ : 'BADCDO ' ;
122
+ typ : 'Bad-cdo ' ;
123
123
val : string ;
124
124
}
125
125
interface IncludesToken {
@@ -642,6 +642,7 @@ declare function isResolution(dimension: DimensionToken): boolean;
642
642
declare function isAngle ( dimension : DimensionToken ) : boolean ;
643
643
declare function isTime ( dimension : DimensionToken ) : boolean ;
644
644
declare function isFrequency ( dimension : DimensionToken ) : boolean ;
645
+ declare function isColor ( token : Token ) : boolean ;
645
646
declare function isIdentStart ( codepoint : number ) : boolean ;
646
647
declare function isDigit ( codepoint : number ) : boolean ;
647
648
declare function isIdentCodepoint ( codepoint : number ) : boolean ;
@@ -661,8 +662,10 @@ declare function isWhiteSpace(codepoint: number): boolean;
661
662
662
663
declare const getConfig : ( ) => PropertiesConfig ;
663
664
665
+ declare const funcList : string [ ] ;
664
666
declare function matchType ( val : Token , properties : PropertyMapType ) : boolean ;
665
667
668
+ declare const colorsFunc : string [ ] ;
666
669
declare function render ( data : AstNode , opt ?: RenderOptions ) : RenderResult ;
667
670
declare function renderToken ( token : Token , options ?: RenderOptions , reducer ?: ( acc : string , curr : Token ) => string ) : string ;
668
671
@@ -695,4 +698,4 @@ declare function resolve(url: string, currentDirectory: string, cwd?: string): {
695
698
declare function parse ( iterator : string , opt ?: ParserOptions ) : Promise < ParseResult > ;
696
699
declare function transform ( css : string , options ?: TransformOptions ) : Promise < TransformResult > ;
697
700
698
- export { combinators , dirname , getConfig , hasDeclaration , isAngle , isAtKeyword , isDigit , isDimension , isFrequency , isFunction , isHash , isHexColor , isHexDigit , isIdent , isIdentCodepoint , isIdentStart , isLength , isNewLine , isNumber , isPercentage , isPseudo , isResolution , isTime , isWhiteSpace , load , matchType , matchUrl , minify , minifyRule , parse , parseDimension , parseString , reduceSelector , render , renderToken , resolve , tokenize , transform , urlTokenMatcher , walk } ;
701
+ export { colorsFunc , combinators , dirname , funcList , getConfig , hasDeclaration , isAngle , isAtKeyword , isColor , isDigit , isDimension , isFrequency , isFunction , isHash , isHexColor , isHexDigit , isIdent , isIdentCodepoint , isIdentStart , isLength , isNewLine , isNumber , isPercentage , isPseudo , isResolution , isTime , isWhiteSpace , load , matchType , matchUrl , minify , minifyRule , parse , parseDimension , parseString , reduceSelector , render , renderToken , resolve , tokenize , transform , urlTokenMatcher , walk } ;
0 commit comments