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

NixExpression

import type { NixExpression } from "https://garn.io/ts/v0.0.14/nix.ts";

An opaque type representing a Nix expression.

It is not advised to construct this type but instead use nixRaw or nixStrLit.

It is not advised to access the rawNixExpressionString except within the garn library itself right before constructing the final flake.nix. This way all Nix expressions are contained within this opaque type and remain type safe.

type NixExpression = {
rawNixExpressionString: string;
}
;

§Type

§
{
rawNixExpressionString: string;
}
[src]