Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/dectyl/mod.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/mod.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[]>