method Directives.prototype.addimport { Directives } from "https://deno.land/x/windmill@v1.394.6/node_modules/yaml/dist/doc/directives.d.ts"; add(line: string, onError: (offset: number,message: string,warning?: boolean,) => void): booleanParametersline: string May be called even if the action was successful onError: (offset: number,message: string,warning?: boolean,) => voidReturnsbooleantrue on success