mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-15 04:10:40 -07:00
fix: allow liquidMethodMissing to return any supported value type (#698)
* fix: allow liquidMethodMissing to return any supported value type * Update src/drop/drop.ts Co-authored-by: Jun Yang <[email protected]> --------- Co-authored-by: Jun Yang <[email protected]>
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
export abstract class Drop {
|
||||
public liquidMethodMissing (key: string | number): Promise<string | undefined> | string | undefined {
|
||||
public liquidMethodMissing (key: string | number): Promise<any> | any {
|
||||
return undefined
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user