Skip to main content
Module

x/fresh/src/dev/deps.ts>Project#getAmbientModule

The next-gen web framework.
Extremely Popular
Go to Latest
method Project.prototype.getAmbientModule
import { Project } from "https://deno.land/x/fresh@1.2.0/src/dev/deps.ts";

Gets the specified ambient module symbol or returns undefined if not found.

Parameters

moduleName: string
  • The ambient module name with or without quotes.

Returns

Symbol | undefined