feat: Access array item by negative index, closes #486

This commit is contained in:
Harttle
2022-03-06 00:52:22 +08:00
parent c503cb23df
commit 049685b9a0
4 changed files with 25 additions and 13 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ export abstract class Drop {
return undefined
}
public liquidMethodMissing (key: string): Promise<string | undefined> | string | undefined {
public liquidMethodMissing (key: string | number): Promise<string | undefined> | string | undefined {
return undefined
}
}