Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
method Node.prototype.warn
Re-export
import { Node } from "https://deno.land/x/postcss@8.4.16/lib/postcss.d.ts";

This method is provided as a convenience wrapper for Result#warn.

  Declaration: {
    bad: (decl, { result }) => {
      decl.warn(result, 'Deprecated property bad')
    }
  }

Parameters

result: Result

The Result instance that will receive the warning.

text: string

Warning message.

optional
opts: WarningOptions

Warning Options.

Returns

Created warning object.