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

x/deno_graph/lib/types.d.ts>ModuleGraph#lock

The module graph logic for Deno CLI
Go to Latest
method ModuleGraph.prototype.lock
import { ModuleGraph } from "https://deno.land/x/deno_graph@0.37.1/lib/types.d.ts";

Determine if the graph sources are valid by calling the passed check() function. If any of the modules in the graph fail the check, then an error is thrown.