nixStrLit
import { nixStrLit } from "https://garn.io/ts/v0.0.16/nix.ts";
Returns a NixExpression
which represents a Nix string literal, but with
all typescript interpolations properly escaped and interpolated.
See also NixStrLitInterpolatable
.
function nixStrLit(s: TemplateStringsArray, ...interpolations: Array<NixStrLitInterpolatable>): NixExpression;
function nixStrLit(s: TemplateStringsArray | string, ...interpolations: Array<NixStrLitInterpolatable>): NixExpression;
§
nixStrLit(s: TemplateStringsArray, ...interpolations: Array<NixStrLitInterpolatable>): NixExpression
[src]Returns a NixExpression
which represents a Nix string literal, but with
all typescript interpolations properly escaped and interpolated.
See also NixStrLitInterpolatable
.
§Parameters
§
...interpolations: Array<NixStrLitInterpolatable> optional
[src]§Return Type
§
nixStrLit(s: TemplateStringsArray | string, ...interpolations: Array<NixStrLitInterpolatable>): NixExpression
[src]§Parameters
§
...interpolations: Array<NixStrLitInterpolatable> optional
[src]