The templateLiterals object is passed in the options parameter. Please note that the options parameter is optional in the event where your document has no variables.
The document is returned as a stream, which can be piped to a file or other writable stream.
1
import { FileforgeClient } from "@fileforge/client";