X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=node_modules%2Funcss%2Fnode_modules%2Fpostcss%2Fd.ts%2Fat-rule.d.ts;fp=node_modules%2Funcss%2Fnode_modules%2Fpostcss%2Fd.ts%2Fat-rule.d.ts;h=27fb339374015c0b3e3d2e55c5a97414f3e6168d;hp=0000000000000000000000000000000000000000;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad diff --git a/node_modules/uncss/node_modules/postcss/d.ts/at-rule.d.ts b/node_modules/uncss/node_modules/postcss/d.ts/at-rule.d.ts new file mode 100644 index 000000000..27fb33937 --- /dev/null +++ b/node_modules/uncss/node_modules/postcss/d.ts/at-rule.d.ts @@ -0,0 +1,39 @@ +import Container from './container'; +import postcss from './postcss'; +export default class AtRule extends Container implements postcss.AtRule { + /** + * Returns a string representing the node's type. Possible values are + * root, atrule, rule, decl or comment. + */ + type: string; + /** + * Contains information to generate byte-to-byte equal node string as it + * was in origin input. + */ + raws: postcss.AtRuleRaws; + /** + * The identifier that immediately follows the @. + */ + name: string; + /** + * These are the values that follow the at-rule's name, but precede any {} + * block. The spec refers to this area as the at-rule's "prelude". + */ + params: string; + /** + * Represents an at-rule. If it's followed in the CSS by a {} block, this + * node will have a nodes property representing its children. + */ + constructor(defaults?: postcss.AtRuleNewProps); + /** + * @param overrides New properties to override in the clone. + * @returns A clone of this node. The node and its (cloned) children will + * have a clean parent and code style properties. + */ + clone(overrides?: Object): AtRule; + toJSON(): postcss.JsonAtRule; + append(...children: any[]): this; + prepend(...children: any[]): this; + afterName: string; + _params: string; +}