Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
method Project.prototype.getAmbientModule
import { Project } from "https://deno.land/x/fresh_testing_library@0.13.0/deps/ts_morph.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