Sha256: 46f235cd68ab519221a340657facacd980849a3cb39ba107c2afbe9da38a443b

Contents?: true

Size: 1.07 KB

Versions: 13

Compression:

Stored size: 1.07 KB

Contents

import postcss from './postcss';
import Node from './node';
export default class Warning implements postcss.Warning {
    /**
     * Contains the warning message.
     */
    text: string;
    /**
     * Returns a string representing the node's type. Possible values are
     * root, atrule, rule, decl or comment.
     */
    type: string;
    /**
     * Contains the name of the plugin that created this warning. When you
     * call Node#warn(), it will fill this property automatically.
     */
    plugin: string;
    /**
     * The CSS node that caused the warning.
     */
    node: Node;
    /**
     * The line in the input file with this warning's source.
     */
    line: number;
    /**
     * Column in the input file with this warning's source.
     */
    column: number;
    /**
     * Represents a plugin warning. It can be created using Node#warn().
     */
    constructor(
        /**
         * Contains the warning message.
         */
        text: string, options?: postcss.WarningOptions);
    /**
     * @returns Error position, message.
     */
    toString(): string;
}

Version data entries

13 entries across 4 versions & 2 rubygems

Version Path
blackboard-3.1.9 lib/site_template/node_modules/postcss/d.ts/warning.d.ts
gulp_assets-1.0.0.pre.5 template/node_modules/gulp-postcss/node_modules/postcss/d.ts/warning.d.ts
gulp_assets-1.0.0.pre.5 template/node_modules/css-mqpacker/node_modules/postcss/d.ts/warning.d.ts
gulp_assets-1.0.0.pre.5 template/node_modules/csswring/node_modules/postcss/d.ts/warning.d.ts
gulp_assets-1.0.0.pre.5 template/node_modules/autoprefixer/node_modules/postcss/d.ts/warning.d.ts
gulp_assets-1.0.0.pre.4 template/node_modules/csswring/node_modules/postcss/d.ts/warning.d.ts
gulp_assets-1.0.0.pre.4 template/node_modules/autoprefixer/node_modules/postcss/d.ts/warning.d.ts
gulp_assets-1.0.0.pre.4 template/node_modules/css-mqpacker/node_modules/postcss/d.ts/warning.d.ts
gulp_assets-1.0.0.pre.4 template/node_modules/gulp-postcss/node_modules/postcss/d.ts/warning.d.ts
gulp_assets-1.0.0.pre.3 template/node_modules/autoprefixer/node_modules/postcss/d.ts/warning.d.ts
gulp_assets-1.0.0.pre.3 template/node_modules/gulp-postcss/node_modules/postcss/d.ts/warning.d.ts
gulp_assets-1.0.0.pre.3 template/node_modules/csswring/node_modules/postcss/d.ts/warning.d.ts
gulp_assets-1.0.0.pre.3 template/node_modules/css-mqpacker/node_modules/postcss/d.ts/warning.d.ts