@stacksjs/stx 0.2.11 → 0.2.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/render.d.ts CHANGED
@@ -23,7 +23,7 @@ export declare function renderTemplate(filePath: string, renderOptions?: RenderO
23
23
  * @param context - Variables to make available in the template
24
24
  * @returns The rendered HTML string
25
25
  */
26
- export declare function renderString(template: string, context?: Record<string, unknown>): Promise<string>;
26
+ export declare function renderString(template: string, context?: Record<string, unknown>, options?: { templateOnly?: boolean }): Promise<string>;
27
27
  // ============================================================================
28
28
  // Types
29
29
  // ============================================================================
@@ -35,4 +35,5 @@ export declare interface RenderOptions {
35
35
  title?: string
36
36
  injectCSS?: boolean
37
37
  layout?: string
38
+ templateOnly?: boolean
38
39
  }