refactor: Tag class support in registerTag()

This commit is contained in:
Jun Yang
2022-11-27 14:04:01 +08:00
parent 1f6ce7c822
commit 92992689cd
145 changed files with 694 additions and 768 deletions
+2 -3
View File
@@ -1,8 +1,7 @@
import { Drop } from '../drop/drop'
export interface PlainObject {
[key: string]: any;
interface ScopeObject extends Record<string, any> {
toLiquid?: () => any;
}
export type Scope = PlainObject | Drop
export type Scope = ScopeObject | Drop