Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.Log.ViolationSetting
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { ViolationSetting } = default.Log;

Violation configuration setting.

Properties

name:
| "longTask"
| "longLayout"
| "blockedEvent"
| "blockedParser"
| "discouragedAPIUse"
| "handler"
| "recurringHandler"

Violation type. (ViolationSettingName enum)

threshold: number

Time threshold to trigger upon.