X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=node_modules%2Funcss%2Fnode_modules%2Fpostcss%2Fd.ts%2Fdeclaration.d.ts;fp=node_modules%2Funcss%2Fnode_modules%2Fpostcss%2Fd.ts%2Fdeclaration.d.ts;h=ee2fdca2c4f69342f8755432f259e0a3740aa2cd;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/node_modules/uncss/node_modules/postcss/d.ts/declaration.d.ts b/node_modules/uncss/node_modules/postcss/d.ts/declaration.d.ts new file mode 100644 index 000000000..ee2fdca2c --- /dev/null +++ b/node_modules/uncss/node_modules/postcss/d.ts/declaration.d.ts @@ -0,0 +1,42 @@ +import postcss from './postcss'; +import Node from './node'; +export default class Declaration extends Node implements postcss.Declaration { + /** + * 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.DeclarationRaws; + /** + * The declaration's property name. + */ + prop: string; + /** + * The declaration's value. This value will be cleaned of comments. If the + * source value contained comments, those comments will be available in the + * _value.raws property. If you have not changed the value, the result of + * decl.toString() will include the original raws value (comments and all). + */ + value: string; + /** + * True if the declaration has an !important annotation. + */ + important: boolean; + /** + * Represents a CSS declaration. + */ + constructor(defaults?: postcss.DeclarationNewProps); + /** + * @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): any; + toJSON(): postcss.JsonDeclaration; + _value: string; + _important: string; +}