Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
interface WarningOptions
import { type WarningOptions } from "https://deno.land/x/postcss@8.4.16/lib/warning.d.ts";

Properties

optional
node: Node

CSS node that caused the warning.

optional
word: string

Word in CSS source that caused the warning.

optional
index: number

Start index, inclusive, in CSS node string that caused the warning.

optional
endIndex: number

End index, exclusive, in CSS node string that caused the warning.

optional
start: RangePosition

Start position, inclusive, in CSS node string that caused the warning.

optional
end: RangePosition

End position, exclusive, in CSS node string that caused the warning.

optional
plugin: string

Name of the plugin that created this warning. Result#warn fills this property automatically.