Skip to content

Commit

Permalink
Allow any number of arguments that are strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon McLean committed Sep 8, 2020
1 parent 1291864 commit 6211864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/containers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export type HelperFunction = (
config: SqrlConfig
) => string | Promise<string>

export type FilterFunction = (str: string) => any | Promise<any>
export type FilterFunction = (...args: string[]) => any | Promise<any>

interface EscapeMap {
'&': '&amp;'
Expand Down

0 comments on commit 6211864

Please sign in to comment.