Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/dectyl/lib/deploy_worker.ts>DeployWorker#check

Prototype library for testing Deno Deploy scripts using the Deno CLI
Latest
method DeployWorker.prototype.check
import { DeployWorker } from "https://deno.land/x/dectyl@0.10.7/lib/deploy_worker.ts";

Type check the program as if it were a Deploy script, resolving with an array of diagnostic information. If the array is empty, there were no issues with type checking.

Parameters

optional
options: CheckOptions = [UNSUPPORTED]

Returns

Promise<Deno.Diagnostic[]>