mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-18 14:00:39 -07:00
fix: type compatible with v9 tag definition, support Context as scope in various render APIs, #570
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { assert, isArray, isString, isFunction } from './util'
|
||||
import { LRU, LiquidCache } from './cache'
|
||||
import { FS } from './fs/fs'
|
||||
import { FS, LookupType } from './fs'
|
||||
import * as fs from './fs/node'
|
||||
import { defaultOperators, Operators } from './render'
|
||||
import { json } from './filters/misc'
|
||||
@@ -91,6 +91,10 @@ export interface RenderOptions {
|
||||
ownPropertyOnly?: boolean;
|
||||
}
|
||||
|
||||
export interface RenderFileOptions extends RenderOptions {
|
||||
lookupType?: LookupType;
|
||||
}
|
||||
|
||||
interface NormalizedOptions extends LiquidOptions {
|
||||
root?: string[];
|
||||
partials?: string[];
|
||||
|
||||
Reference in New Issue
Block a user