Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

emptyEnvironment

import { emptyEnvironment } from "https://garn.io/ts/v0.0.16/mod.ts";

The empty environment - this Environment has nothing installed in it. It can be easily extended using withDevTools.

For example:

import * as pkgs from "https://garn.io/ts/v0.0.16/nixpkgs.ts";

// Create an environment with nothing but go and gopls installed:
emptyEnvironment.withDevTools([pkgs.go, pkgs.gopls])
const emptyEnvironment: Environment;