/var/www/flurhymez/node_modules/postcss/lib
NameSizeModeActions
at-rule.d.ts24660644editdlrm
at-rule.js4710644editdlrm
comment.d.ts13440644editdlrm
comment.js2030644editdlrm
container.d.ts125940644editdlrm
container.js102040644editdlrm
css-syntax-error.d.ts48440644editdlrm
css-syntax-error.js23210644editdlrm
declaration.d.ts30260644editdlrm
declaration.js4950644editdlrm
document.d.ts15240644editdlrm
document.js6540644editdlrm
fromJSON.d.ts1070644editdlrm
fromJSON.js15060644editdlrm
input.d.ts28120644editdlrm
input.js50570644editdlrm
lazy-result.d.ts48200644editdlrm
lazy-result.js134680644editdlrm
list.d.ts12620644editdlrm
list.js11670644editdlrm
map-generator.js76820644editdlrm
node.d.ts116750644editdlrm
node.js70800644editdlrm
parse.d.ts890644editdlrm
parse.js11470644editdlrm
parser.js136180644editdlrm
postcss.d.ts113380644editdlrm
postcss.js26280644editdlrm
postcss.mjs9370644editdlrm
previous-map.d.ts16180644editdlrm
previous-map.js39240644editdlrm
processor.d.ts29410644editdlrm
processor.js21320644editdlrm
result.d.ts40810644editdlrm
result.js7450644editdlrm
root.d.ts18560644editdlrm
root.js12090644editdlrm
rule.d.ts23630644editdlrm
rule.js5690644editdlrm
stringifier.js81640644editdlrm
stringify.d.ts1070644editdlrm
stringify.js2130644editdlrm
symbols.js910644editdlrm
terminal-highlight.js13990644editdlrm
tokenize.js65360644editdlrm
warn-once.js2240644editdlrm
warning.d.ts19330644editdlrm
warning.js6480644editdlrm
Edit: /var/www/flurhymez/node_modules/postcss/lib/warning.d.ts (1933B)
import Node from './node.js' export interface WarningOptions { /** * CSS node that caused the warning. */ node?: Node /** * Word in CSS source that caused the warning. */ word?: string /** * Index in CSS node string that caused the warning. */ index?: number /** * Name of the plugin that created this warning. `Result#warn` fills * this property automatically. */ plugin?: string } /** * Represents a plugin’s warning. It can be created using `Node#warn`. * * ```js * if (decl.important) { * decl.warn(result, 'Avoid !important', { word: '!important' }) * } * ``` */ export default class Warning { /** * Type to filter warnings from `Result#messages`. * Always equal to `"warning"`. */ type: 'warning' /** * The warning message. * * ```js * warning.text //=> 'Try to avoid !important' * ``` */ text: string /** * The name of the plugin that created this warning. * When you call `Node#warn` it will fill this property automatically. * * ```js * warning.plugin //=> 'postcss-important' * ``` */ plugin: string /** * Contains the CSS node that caused the warning. * * ```js * warning.node.toString() //=> 'color: white !important' * ``` */ node: Node /** * Line in the input file with this warning’s source. * * ```js * warning.line //=> 5 * ``` */ line: number /** * Column in the input file with this warning’s source. * * ```js * warning.column //=> 6 * ``` */ column: number /** * @param text Warning message. * @param opts Warning options. */ constructor(text: string, opts?: WarningOptions) /** * Returns a warning position and message. * * ```js * warning.toString() //=> 'postcss-lint:a.css:10:14: Avoid !important' * ``` * * @return Warning position and message. */ toString(): string }