Changeset 0c6b92a for imaps-frontend/node_modules/postcss/lib/postcss.d.ts
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/postcss/lib/postcss.d.ts
rd565449 r0c6b92a 3 3 import AtRule, { AtRuleProps } from './at-rule.js' 4 4 import Comment, { CommentProps } from './comment.js' 5 import Container, { ContainerProps } from './container.js'5 import Container, { ContainerProps, NewChild } from './container.js' 6 6 import CssSyntaxError from './css-syntax-error.js' 7 7 import Declaration, { DeclarationProps } from './declaration.js' … … 29 29 helper: postcss.Helpers 30 30 ) => Promise<void> | void 31 type RootProcessor = (root: Root, helper: postcss.Helpers) => Promise<void> | void 31 type RootProcessor = ( 32 root: Root, 33 helper: postcss.Helpers 34 ) => Promise<void> | void 32 35 type DeclarationProcessor = ( 33 36 decl: Declaration, 34 37 helper: postcss.Helpers 35 38 ) => Promise<void> | void 36 type RuleProcessor = (rule: Rule, helper: postcss.Helpers) => Promise<void> | void 37 type AtRuleProcessor = (atRule: AtRule, helper: postcss.Helpers) => Promise<void> | void 39 type RuleProcessor = ( 40 rule: Rule, 41 helper: postcss.Helpers 42 ) => Promise<void> | void 43 type AtRuleProcessor = ( 44 atRule: AtRule, 45 helper: postcss.Helpers 46 ) => Promise<void> | void 38 47 type CommentProcessor = ( 39 48 comment: Comment, … … 162 171 list, 163 172 Message, 173 NewChild, 164 174 Node, 165 175 NodeErrorOptions, … … 177 187 } 178 188 179 export type SourceMap = SourceMapGenerator &{189 export type SourceMap = { 180 190 toJSON(): RawSourceMap 181 } 191 } & SourceMapGenerator 182 192 183 193 export type Helpers = { postcss: Postcss; result: Result } & Postcss … … 436 446 * @return Processor to process multiple CSS. 437 447 */ 438 declare function postcss(plugins?: postcss.AcceptedPlugin[]): Processor 448 declare function postcss( 449 plugins?: readonly postcss.AcceptedPlugin[] 450 ): Processor 439 451 declare function postcss(...plugins: postcss.AcceptedPlugin[]): Processor 440 452
Note:
See TracChangeset
for help on using the changeset viewer.